File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -553,7 +553,7 @@ class _DeleteMatchButton extends StatelessWidget {
553553 userId: context.read <AppBloc >().state.user.id,
554554 ),
555555 );
556- // Just close the dialog and let the BlocConsumer handle navigation
556+
557557 context.pop ();
558558 },
559559 ),
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ class StatsOverviewWidget extends StatelessWidget {
2929 }
3030 if (state is StatsOverviewLoaded ) {
3131 return GridView .count (
32- physics : const ClampingScrollPhysics () ,
33- crossAxisSpacing : 100 ,
32+ crossAxisSpacing : 50 ,
33+ childAspectRatio : . 6 ,
3434 mainAxisSpacing: 10 ,
3535 crossAxisCount: 3 ,
3636 children: [
Original file line number Diff line number Diff line change @@ -26,13 +26,17 @@ class StatsWidget extends StatelessWidget {
2626 maxLines: 3 ,
2727 ),
2828 ),
29- Text (
30- title,
31- style: Theme .of (context)
32- .textTheme
33- .titleSmall
34- ? .copyWith (color: Colors .blueGrey),
35- textAlign: TextAlign .center,
29+ SizedBox (
30+ height: 50 ,
31+ width: 80 ,
32+ child: AutoSizeText (
33+ title,
34+ style: Theme .of (context)
35+ .textTheme
36+ .titleSmall
37+ ? .copyWith (color: Colors .blueGrey),
38+ textAlign: TextAlign .center,
39+ ),
3640 ),
3741 ],
3842 );
You can’t perform that action at this time.
0 commit comments