From ee4bec1dc35aef78200f3f039aa35d27ee9a8aa7 Mon Sep 17 00:00:00 2001 From: Abraham Williams <4braham@gmail.com> Date: Fri, 16 Feb 2024 19:41:34 -0600 Subject: [PATCH] Switch OutlinedButton from primary to foregroundColor --- lib/widgets/poll_buttons.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widgets/poll_buttons.dart b/lib/widgets/poll_buttons.dart index ba27a69..c6e4fa0 100644 --- a/lib/widgets/poll_buttons.dart +++ b/lib/widgets/poll_buttons.dart @@ -22,7 +22,7 @@ class PollButtonsWidget extends StatelessWidget { /// Calls the passed callback to capture response. onPressed: onPressed, style: OutlinedButton.styleFrom( - primary: Theme.of(context).primaryColor, + foregroundColor: Theme.of(context).primaryColor, shape: borderShape, side: BorderSide( color: Theme.of(context).primaryColor,