Change styling of dialog buttons

This commit is contained in:
Vishnu Mohandas 2021-03-21 17:41:09 +05:30
parent 5918d996a4
commit a0b3ff20f2

View file

@ -438,13 +438,19 @@ class _SubscriptionPageState extends State<SubscriptionPage> {
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [ children: [
TextButton( TextButton(
child: Text("review plans"), child: Text(
"review plans",
style: TextStyle(color: Theme.of(context).buttonColor),
),
onPressed: () { onPressed: () {
Navigator.of(context, rootNavigator: true).pop('dialog'); Navigator.of(context, rootNavigator: true).pop('dialog');
}, },
), ),
TextButton( TextButton(
child: Text("ok"), child: Text(
"ok",
style: TextStyle(color: Colors.white),
),
onPressed: () { onPressed: () {
if (widget.isOnboarding) { if (widget.isOnboarding) {
Bus.instance.fire(SubscriptionPurchasedEvent()); Bus.instance.fire(SubscriptionPurchasedEvent());