File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
features/sorting/base/view Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,9 @@ class StringsManager {
3030 static const String searching = "Searching" ;
3131 static const String sorting = "Sorting" ;
3232 static const String bubbleSort = "Bubble sort" ;
33- static const String selectionSort = "Selection sort" ;
3433 static const String insertionSort = "Insertion sort" ;
34+ static const String selectionSort = "Selection sort" ;
35+ static const String mergeSort = "Merge sort" ;
3536
3637 static const String stop = "Stop" ;
3738 static const String play = "Play" ;
Original file line number Diff line number Diff line change @@ -45,6 +45,14 @@ class SortingListPage extends StatelessWidget {
4545 context.pushTo (Routes .selectionSort);
4646 },
4747 ),
48+ CustomRoundedElevatedButton (
49+ roundedRadius: 3 ,
50+ backgroundColor: ThemeEnum .whiteD5Color,
51+ child: const RegularText (StringsManager .mergeSort),
52+ onPressed: () {
53+ context.pushTo (Routes .mergeSort);
54+ },
55+ ),
4856 ],
4957 ),
5058 ),
You can’t perform that action at this time.
0 commit comments