@@ -64,8 +64,7 @@ class _ControlButtons extends StatefulWidget {
6464class _ControlButtonsState extends State <_ControlButtons > {
6565 PopupMenuItem <String > buildPopupMenuItem (String value, [ThemeEnum ? color]) {
6666 final isLargeScreen = MediaQuery .sizeOf (context).width > 500 ;
67- return PopupMenuItem (
68- value: value, child: RegularText (value, fontSize: isLargeScreen ? 16 : 14 , color: color));
67+ return PopupMenuItem (value: value, child: RegularText (value, fontSize: isLargeScreen ? 16 : 14 , color: color));
6968 }
7069
7170 @override
@@ -120,8 +119,8 @@ class _ControlButtonsState extends State<_ControlButtons> {
120119 child: Center (
121120 child: PopupMenuButton <String >(
122121 position: PopupMenuPosition .under,
123- style: const ButtonStyle (
124- backgroundColor: WidgetStatePropertyAll (ColorManager .finishedSearcherBlue)),
122+ style:
123+ const ButtonStyle ( backgroundColor: WidgetStatePropertyAll (ColorManager .finishedSearcherBlue)),
125124 onSelected: (value) {
126125 if (value == StringsManager .dijkstra) {
127126 ref.read (_gridNotifierProvider.notifier).performDijkstra ();
@@ -227,8 +226,7 @@ class _BuildGridItems extends ConsumerWidget {
227226 @override
228227 Widget build (BuildContext context, ref) {
229228 final gridCount = ref.watch (_gridNotifierProvider.select ((it) => it.gridCount));
230- final watchColumnCrossAxisCount =
231- ref.watch (_gridNotifierProvider.select ((it) => it.columnCrossAxisCount));
229+ final watchColumnCrossAxisCount = ref.watch (_gridNotifierProvider.select ((it) => it.columnCrossAxisCount));
232230
233231 if (gridCount == 0 ) {
234232 return const Center (child: MediumText (StringsManager .notInitializeGridYet));
@@ -269,9 +267,8 @@ class _SquareState extends ConsumerState<_Square> {
269267 .select ((it) => it.gridData.length > widget.index ? it.gridData[widget.index] : GridStatus .empty));
270268
271269 final isColored = isSelected != GridStatus .empty;
272- final showBorder = isSelected != GridStatus .empty &&
273- isSelected != GridStatus .startPoint &&
274- isSelected != GridStatus .targetPoint;
270+ final showBorder =
271+ isSelected != GridStatus .empty && isSelected != GridStatus .startPoint && isSelected != GridStatus .targetPoint;
275272
276273 return Container (
277274 key: ValueKey (widget.index),
0 commit comments