From fbe8437f92974d388b5e260e2cff0aabc35dfd26 Mon Sep 17 00:00:00 2001 From: Felix Kirchner Date: Fri, 18 Apr 2025 20:30:07 +0200 Subject: [PATCH] Changed colors in SegmendetControl --- lib/views/round_view.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/views/round_view.dart b/lib/views/round_view.dart index e365798..14da2ca 100644 --- a/lib/views/round_view.dart +++ b/lib/views/round_view.dart @@ -79,12 +79,15 @@ class _RoundViewState extends State { child: SizedBox( height: 40, child: CupertinoSegmentedControl( + unselectedColor: theme.backgroundTintColor, + selectedColor: theme.primaryColor, groupValue: _caboPlayerIndex, children: Map.fromIterable( widget.gameSession.players.asMap().keys, value: (index) => Padding( padding: EdgeInsets.symmetric( - horizontal: gameSession.players.length > 3 ? 7 : 15, + horizontal: + gameSession.players.length > 3 ? 11 : 15, ), child: Text( widget.gameSession.players[index],