CupertinoStackViewController class

The class that is responsible of all Cupertino StackView related logic.

Constructors

CupertinoStackViewController(GlobalKey<NavigatorState> _navigatorState, Map<String, dynamic Function(BuildContext context, dynamic parameters)> _builders, {Duration duration = const Duration(milliseconds: 250), dynamic onMoved(String, CupertinoStackViewStatus)?, dynamic onDismissed(String?)?})

Properties

currentContext BuildContext?
no setter
currentNavigation String
no setter
duration Duration
The duration that is to be used for CupertinoStackView animations. The default value corresponds the default Flutter value..
final
hashCode int
The hash code for this object.
no setterinherited
height double
See initialise.
getter/setter pair
onDismissed → (dynamic Function(String?)?)
Callback for when any CupertinoStackView is dismissed.
final
onMoved → (dynamic Function(String, CupertinoStackViewStatus)?)
Callback for when any CupertinoStackView moves.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double?
See initialise.
getter/setter pair

Methods

back({String? navigation, bool isDismissed = false}) Future
Use this method to go back one CupertinoStackView in the Cupertino StackView system.
backToPrimary() Future
Use this method to go back to the primary CupertinoStackView in the Cupertino StackView system.
initialise(double height, double width) → void
CupertinoStackViewController has to be initialised as soon as the application starts. Use this method with the MediaQuery.of(context).size.height and MediaQuery.of(context).size.width values.
introduce(String navigation, CupertinoStackViewState cupertinoStackViewState) → void
introduceAsSibling(String navigation, CupertinoStackViewState cupertinoStackViewState) → void
Use this method to go to a CupertinoStackView in the Cupertino StackView system.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited