clickButton function
Future<void>
clickButton(
- BuildContext context,
- List<
AnimationController> aniController, - ScrollController singleChildScrollController,
- int stepsListLength,
- GlobalKey<
State< key,StatefulWidget> >
Implementation
Future<void> clickButton(
BuildContext context,
List<AnimationController> aniController,
ScrollController singleChildScrollController,
int stepsListLength,
GlobalKey key,
) async {
final customPageViewModel = Provider.of<CustomPageViewModel>(context, listen: false);
customPageViewModel.previousPage(aniController, singleChildScrollController, stepsListLength, key);
}