MinimalPageTransitions class
Minimal's push, as a PageTransitionsBuilder: the incoming page fades in over MinimalChromeMetrics.push while travelling MinimalChromeMetrics.pushSlide from the trailing side, and leaves the same way over MinimalChromeMetrics.pop. The page underneath stays exactly where it is — no parallax, no dim. minimalPageTransitions maps it to every platform.
Minimal's push replaces the platform's, and with it iOS's swipe back from the screen's edge: iOS's entry in minimalPageTransitions wraps it in ui_core's DesignSwipeBackPageTransitionsBuilder, which puts the swipe back round it.
- Inheritance
-
- Object
- PageTransitionsBuilder
- MinimalPageTransitions
Constructors
- MinimalPageTransitions()
-
Minimal's push and pop.
const
Properties
- delegatedTransition → DelegatedTransitionBuilder?
-
Provides a secondary transition to the previous route.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- reverseTransitionDuration → Duration
-
The duration the transition going in reverse.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transitionDuration → Duration
-
The duration the transition going forwards.
no setteroverride
Methods
-
buildTransitions<
T> (PageRoute< T> route, BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation, Widget child) → Widget -
Wraps the child with one or more transition widgets which define how
routearrives on and leaves the screen.override -
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