File tree Expand file tree Collapse file tree 4 files changed +47
-3
lines changed
Expand file tree Collapse file tree 4 files changed +47
-3
lines changed Original file line number Diff line number Diff line change 11import 'dart:math' ;
22
33class CustomRandom {
4- static List <int > generateRandomList (int maxNum, int length) {
4+ static List <int > generateList (int maxNum, int length) {
55 if (length > maxNum + 1 ) length = maxNum;
66
77 List <int > numbers = List <int >.generate (maxNum + 1 , (index) => index);
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ class RegularText extends _AdaptiveText {
66 super .fontSize = 16 ,
77 super .decoration = TextDecoration .none,
88 super .fontStyle = FontStyle .normal,
9- super .color,
9+ super .color = ThemeEnum .focusColor ,
1010 super .shadows,
1111 super .maxLines = 2 ,
1212 super .textAlign,
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class _SearcherGridState extends State<_SearcherGrid> with SingleTickerProviderS
6969 @override
7070 Widget build (BuildContext context) {
7171 return Consumer (builder: (context, ref, _) {
72- final size = ref.watch (gridNotifierProvider .select ((it) => it.gridSize));
72+ final size = ref.watch (_gridNotifierProvider .select ((it) => it.gridSize));
7373
7474 return AnimatedBuilder (
7575 animation: _controller,
Original file line number Diff line number Diff line change 1+ part of '../view/sorting_page.dart' ;
2+ //
3+ // class _MenuButton extends StatelessWidget {
4+ // const _MenuButton();
5+ //
6+ // @override
7+ // Widget build(BuildContext context) {
8+ // return Consumer(
9+ // builder: (context, ref, _) {
10+ // return TextButton(
11+ // onPressed: () {
12+ // CustomAlertDialog(context).solidDialog(
13+ // parameters: [
14+ // ListDialogParameters(
15+ // text: StringsManager.generateMaze,
16+ // onTap: () {},
17+ // ),
18+ // ListDialogParameters(
19+ // text: "Dijkstra",
20+ // onTap: () {},
21+ // ),
22+ // ListDialogParameters(
23+ // text: "BFS",
24+ // onTap: () {},
25+ // ),
26+ // ListDialogParameters(
27+ // text: StringsManager.clearPath,
28+ // color: ThemeEnum.redColor,
29+ // onTap: () {},
30+ // ),
31+ // ListDialogParameters(
32+ // text: StringsManager.clearAll,
33+ // color: ThemeEnum.redColor,
34+ // onTap: () {},
35+ // ),
36+ // ],
37+ // );
38+ // },
39+ // child: const CustomIcon(Icons.menu_rounded),
40+ // );
41+ // },
42+ // );
43+ // }
44+ // }
You can’t perform that action at this time.
0 commit comments