Support TextField multi-line hint text #20941 (#24976)

This commit is contained in:
Trevor Wang
2018-12-12 14:46:05 +08:00
committed by xster
parent 65df90d8b5
commit 114335dff0
4 changed files with 57 additions and 1 deletions

View File

@@ -233,7 +233,7 @@ class TextFormFieldDemoState extends State<TextFormFieldDemo> {
TextFormField(
decoration: const InputDecoration(
border: OutlineInputBorder(),
hintText: 'Tell us about yourself',
hintText: 'Tell us about yourself (e.g., write down what you do or what hobbies you have)',
helperText: 'Keep it short, this is just a demo.',
labelText: 'Life story',
),