r/backtickbot • • Jun 08 '21

https://np.reddit.com/r/FlutterDev/comments/nuxa6l/what_is_up_with_the_new_buttonstyle_property_for/h12q6jh/

TextButton(
      style: ButtonStyle(foregroundColor: MaterialStateProperty.all(Colors.red)),
    );
0 Upvotes

0 comments sorted by