title: Space is not adding after word in textfield (Flutter)
body: <p>I am new in flutter, i have a textfield in my app and when i enter space then it is not added in the textfield.I have rapped my textfield and buttons with lhe ListTile...is this problem because of ListTile? if yes then what the alternative for ListTile or if it is not the case then what the exactly problem is??
  My code is given below:</p>
  <pre><code>class _HomeState extends State&lt;Home&gt; {
  
    class _HomeState extends State&lt;Home&gt; {
  
    TextEditingController _enterDataField = TextEditingController();
    @override
    Widget build(BuildContext context) {
      return new Scaffold(
          appBar: AppBar(
            title: new Text(&quot;Read/Write&quot;),
            backgroundColor: Colors.blueAccent,
            centerTitle: true,
          ),
          body: new Container(
              padding: EdgeInsets.all(13.4),
              alignment: Alignment.center,
  
              child: new ListTile(
                title: new TextField(
                  keyboardType: TextInputType.multiline,
                  controller: _enterDataField,
  
                  decoration: new InputDecoration(
                    prefixIcon: Icon(Icons.message),
                    border: OutlineInputBorder(),
                    labelText: 'Write Something',
                  ),
                ),
  
                  subtitle: TextButton(
                    style: ButtonStyle(
                      foregroundColor: MaterialStateProperty.all&lt;Color&gt;(Colors.blue),
                    ),
                    onPressed: () {
                      writeData(_enterDataField.text);
                    },
  
                    child: new Column(
                      children: [
                        new Text('Save Data'),
                        new Padding(padding: EdgeInsets.all(14.0)),
                        new FutureBuilder(
                        future: readData(),
                        builder: (BuildContext context, AsyncSnapshot&lt;String?&gt; data) {
                              if(data.hasData!=null)
                                {
                                 return new Text(
                                     data.data.toString(),
                                 style: new TextStyle(color: Colors.blueAccent),
                                 );
                                }
                              else
                                {
                                  return new Text('No Data Saved');
                                }
                        }
  
                        )],
                    ),
                  )
  
  
              )
          ));
    }
  }
  
  
  
  
  Future&lt;String?&gt; get _localPath async
    {
      final directory = await getApplicationDocumentsDirectory();
      return directory.path;
    }
  
    Future&lt;File&gt; get _localFile async
    {
      final path =await _localPath;
      return new File('$path/data.txt');
    }
  
    Future&lt;File&gt; writeData(String? message) async
    {
      final file =await _localFile;
       return file.writeAsString('$message');
    }
  
    Future&lt;String?&gt; readData() async
    {
      try
      {
      final file =await _localFile;
      String? data = await file.readAsString();
      return data;
      }
      catch(e)
      {
        return &quot;Nothing Saved Yet!&quot;;
      }
  }
  </code></pre>