CupertinoBackGestureController<T> constructor

CupertinoBackGestureController<T>({
  1. required NavigatorState navigator,
  2. required AnimationController controller,
})

Creates a controller for an iOS-style back gesture.

The navigator and controller arguments must not be null.

Implementation

CupertinoBackGestureController({
  required this.navigator,
  required this.controller,
}) {
  navigator.didStartUserGesture();
}