Closed ineol closed 3 years ago
Thanks for flagging, the solution we went for was to add a foregroundColor to the button
style: ButtonStyle(
foregroundColor: MaterialStateProperty.all(
Theme.of(context).colorScheme.secondary,
),
shape: MaterialStateProperty.all(
const BeveledRectangleBorder(
borderRadius: BorderRadius.all(Radius.circular(7.0)),
),
),
),
PR #236 replaces
FlatButton
byTextButton
. This has the effect of having the text of the button becoming light pink (primary color), which is not readable.One solution is to change
textButtonTheme
in the custom theme?