Input instructions - Flutter
In Flutter, you can use an InputDecoration
to show instructions for a TextField
. You need to provide a string
for the helperText
property.
TextField(
decoration: InputDecoration(
helperText: 'Your password should be at least 8 characters.',
),
);