onChangeStepWithoutApi method

Future<void> onChangeStepWithoutApi()

used for the static quiz template used as examples

Implementation

Future<void> onChangeStepWithoutApi() async {
  setState(() {
    isChangingStep = true;
  });

  await Future.delayed(Durations.extralong1);

  if (mounted) {
    setState(() {
      isChangingStep = false;
    });
  }
}