I have a Row which contains three widget, [icon, button, text]. I want all of them to align at the top. If the text is long everything is fine. But if the text is short, It is not align.
Here is the code: https://pastebin.com/e4iRVSFz
>Solution :
TextButton(
style: ButtonStyle(
alignment: Alignment.topLeft
),
onPressed: () {
// Add your middle widget click logic here
},
child: Text(
'Short',
style: TextStyle(
color: Colors.blue,
decoration: TextDecoration.underline,
),
),
),
try add a ButtonStyle to TextButton
