How does one align hintText
to the top in a TextField
?
TextField (
decoration: InputDecoration(
hintText: 'align me to the top',
),
),
textAlign
is not affectinghintText
at all.TextStyle
does not haveAlign
property ashintStyle
can be used.