Trying to figure out if I can align the text in a full width button, i.e a button that has width: double.infinity
for example this:
ButtonTheme(
minWidth: double.infinity,
child: FlatButton(
onPressed: () {},
child: Text('Sign Out', textAlign: TextAlign.left),
),
)
produces a centered text button and the alignment cannot be changed.
I have tried a few things but can't figure it out, unless I try to create a custom button.
I'm trying to get a full width button with text:left so the user can click anywhere in the row, and still get the material tap effect.

