From 2c1e98d89663e5fba4d7d5e29aa4ad63b18be7b4 Mon Sep 17 00:00:00 2001 From: BroodjeAap Date: Sat, 5 Dec 2020 16:04:37 +0100 Subject: [PATCH] switched to horizontal numberpicker, scrolling is weird tho, still up/down... --- lib/pages/practice/PracticeSetupPage.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pages/practice/PracticeSetupPage.dart b/lib/pages/practice/PracticeSetupPage.dart index 8ad3ece..e1b3a6f 100644 --- a/lib/pages/practice/PracticeSetupPage.dart +++ b/lib/pages/practice/PracticeSetupPage.dart @@ -86,7 +86,7 @@ class _PracticeSetupState extends State { "How many rounds", style: TextStyle(fontSize: 20), ), - NumberPicker.integer( + NumberPicker.horizontal( initialValue: _count, minValue: 1, maxValue: 500, @@ -118,7 +118,7 @@ class _PracticeSetupState extends State { Text(""), Text("7d", textAlign: TextAlign.center, style: TextStyle(fontSize: 25)), Text("30d", textAlign: TextAlign.center, style: TextStyle(fontSize: 25)), - Text("All", textAlign: TextAlign.center, style: TextStyle(fontSize: 25)) + Text("All", textAlign: TextAlign.center, style: TextStyle(fontSize: 25)), ] ), getStatTableRow(snapshot, PracticeType.month),