diff --git a/lib/pages/practice/PracticeSetupPage.dart b/lib/pages/practice/PracticeSetupPage.dart index c8f6950..aec797d 100644 --- a/lib/pages/practice/PracticeSetupPage.dart +++ b/lib/pages/practice/PracticeSetupPage.dart @@ -96,11 +96,19 @@ class _PracticeSetupState extends State { ), Text( snapshot.hasData ? - snapshot.data["All month"].round().toString() + "%" : "-", + snapshot.data["7d month"].toString() + "%" : "-", + textAlign: TextAlign.center, style: TextStyle(fontSize: 25) + ), + Text( + snapshot.hasData ? + snapshot.data["30d month"].toString() + "%" : "-", + textAlign: TextAlign.center, style: TextStyle(fontSize: 25) + ), + Text( + snapshot.hasData ? + snapshot.data["All month"].toString() + "%" : "-", textAlign: TextAlign.center, style: TextStyle(fontSize: 25) ), - Text("70%", textAlign: TextAlign.center, style: TextStyle(fontSize: 25)), - Text("50%", textAlign: TextAlign.center, style: TextStyle(fontSize: 25)) ] ), ]