onPush method

  1. @override
void onPush({
  1. double? fadeLength,
})
override

What should happen when this level is pushed into a level stack.

If fadeLength is not null, then music and all ambiances will be faded in.

Implementation

@override
void onPush({final double? fadeLength}) {
  super.onPush(fadeLength: fadeLength);
  progress();
}