Jak włączyć pola formularza tekstu wielolinowego
TextField(
keyboardType: TextInputType.multiline,
maxLines: null,
)
Sore Shrew
TextField(
keyboardType: TextInputType.multiline,
maxLines: null,
)
Row(
children: [
Flexible(
child: Text('Add long text here',
maxLines: 1,
softWrap: false,
overflow: TextOverflow.fade,
),
),
],
)
Text('\$8.99', style: TextStyle(decoration: TextDecoration.lineThrough))
new TextField(
keyboardType: TextInputType.multiline,
maxLines: whatever,
)
TextField(
keyboardType: TextInputType.multiline,
maxLines: null,
)