Question : flutter textfield label align top
Answered by : burak
TextFormField( textAlignVertical: TextAlignVertical.top, decoration: InputDecoration( labelText: "Label", alignLabelWithHint: true,
)
Source : https://stackoverflow.com/questions/59600423/flutter-textfield-align-text-at-the-top | Last Update : Mon, 16 May 22
Question : Align labeltext to top in textfield - Flutter
Answered by : calm-capybara-8c8e6oc87poa
{"tags":[{"tag":"p","content":"Set alignLabelWithHint: true in InputDecoration"},{"tag":"p","content":"<br>"},{"tag":"textarea","content":"TextFormField(\n\tdecoration: const InputDecoration(\n labelText: 'Label Text',\n alignLabelWithHint: true,\n ),\n maxLines: 3,\n),","code_language":"dart"}]}
Source : https://stackoverflow.com/a/63920493/6122673 | Last Update : Tue, 11 Jul 23