@@ -32,7 +32,7 @@ class SearchingPage extends StatelessWidget {
3232 Widget build (BuildContext context) {
3333 return Scaffold (
3434 appBar: AppBar (
35- title: _ControlButtons (),
35+ title: const _ControlButtons (),
3636 centerTitle: true ,
3737 ),
3838 body: SafeArea (
@@ -83,10 +83,10 @@ class _ControlButtons extends StatelessWidget {
8383 icon: const Row (
8484 mainAxisSize: MainAxisSize .min,
8585 children: [
86- MediumText (StringsManager .maze, fontSize: 12 ),
86+ MediumText (StringsManager .maze, fontSize: 16 ),
8787 CustomIcon (
8888 Icons .keyboard_arrow_down_rounded,
89- size: 16 ,
89+ size: 20 ,
9090 ),
9191 ],
9292 ), // 3-dot menu
@@ -124,8 +124,8 @@ class _ControlButtons extends StatelessWidget {
124124 icon: const Row (
125125 mainAxisSize: MainAxisSize .min,
126126 children: [
127- MediumText (StringsManager .visualize, fontSize: 12 ),
128- CustomIcon (Icons .keyboard_arrow_down_rounded, size: 16 ),
127+ MediumText (StringsManager .visualize, fontSize: 16 ),
128+ CustomIcon (Icons .keyboard_arrow_down_rounded, size: 22 ),
129129 ],
130130 ), // 3-dot menu
131131 ),
@@ -157,8 +157,8 @@ class _ControlButtons extends StatelessWidget {
157157 icon: const Row (
158158 mainAxisSize: MainAxisSize .min,
159159 children: [
160- MediumText (StringsManager .clear, fontSize: 12 , color: ThemeEnum .redColor),
161- CustomIcon (Icons .keyboard_arrow_down_rounded, size: 16 , color: ColorManager .red),
160+ MediumText (StringsManager .clear, fontSize: 16 , color: ThemeEnum .redColor),
161+ CustomIcon (Icons .keyboard_arrow_down_rounded, size: 20 , color: ColorManager .red),
162162 ],
163163 ), // 3-dot menu
164164 ),
@@ -250,7 +250,8 @@ class _Square extends ConsumerStatefulWidget {
250250class _SquareState extends ConsumerState <_Square > {
251251 @override
252252 Widget build (BuildContext context) {
253- final isSelected = ref.watch (_gridNotifierProvider.select ((it) => it.gridData[widget.index]));
253+ final isSelected = ref.watch (_gridNotifierProvider
254+ .select ((it) => it.gridData.length > widget.index ? it.gridData[widget.index] : GridStatus .empty));
254255
255256 final isColored = isSelected != GridStatus .empty;
256257 final showBorder = isSelected != GridStatus .empty &&
0 commit comments