Warp text on a row with an input
Warp text on a row with an input I have a situation where I need to wrap text with an input in Flutter. An example: 'The cat goes <TextField> , the dog goes bark.' <TextField> I'm using the Row class to format it this way, however, the row class doesn't wrap text. Widget _buildQuestionText(String sentence) { List splitSentence = sentence.split('$guess'); return new Container( child: Row( children: <Widget>[ new Text(splitSentence[0]), new Expanded(child: new TextField()), new Text(splitSentence[1]), ] ), ); } Which creates: I have looked at using the Flex class but was unable to achieve the format I wanted. How can I achieve text wrapping with an input in the middle of text? Just to be clear, are you trying to make multiple bits of text that each wrap, or do you want an entire sentence with an input in the middle of it with the entire thing wrapping? ...
