switched to horizontal numberpicker, scrolling is weird tho, still up/down...

This commit is contained in:
BroodjeAap 2020-12-05 16:04:37 +01:00
parent d0f03c80d7
commit 2c1e98d896

View file

@ -86,7 +86,7 @@ class _PracticeSetupState extends State<PracticeSetupPage> {
"How many rounds", "How many rounds",
style: TextStyle(fontSize: 20), style: TextStyle(fontSize: 20),
), ),
NumberPicker.integer( NumberPicker.horizontal(
initialValue: _count, initialValue: _count,
minValue: 1, minValue: 1,
maxValue: 500, maxValue: 500,
@ -118,7 +118,7 @@ class _PracticeSetupState extends State<PracticeSetupPage> {
Text(""), Text(""),
Text("7d", textAlign: TextAlign.center, style: TextStyle(fontSize: 25)), Text("7d", textAlign: TextAlign.center, style: TextStyle(fontSize: 25)),
Text("30d", 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), getStatTableRow(snapshot, PracticeType.month),