This commit is contained in:
Mohamed Nouffer
2022-07-27 19:43:12 +05:30
parent 3e001cc485
commit 16cf0e1434
3 changed files with 68 additions and 80 deletions

View File

@ -85,7 +85,7 @@ class BottomSheetNew extends GetView<BottomSheetController> {
children: [
MaterialButton(
onPressed: () {
indexController.makePrevious(indexController.currentFeature[0]);
destinationController.makePrevious(indexController.currentDestinationFeature[0]);
},
color: Colors.blue,
textColor: Colors.white,
@ -110,8 +110,7 @@ class BottomSheetNew extends GetView<BottomSheetController> {
),
MaterialButton(
onPressed: () {
//print("----- next is ${indexController.currentFeature[0]} ------");
//indexController.makeNext(indexController.currentFeature[0]);
destinationController.makeNext(indexController.currentDestinationFeature[0]);
},
color: Colors.blue,
textColor: Colors.white,