NoShadowCupertinoPageTransitionsBuilder class
A custom cupertino transition builder to fix unwanted shadows in nested navigator
This fixes the issue referenced here https://stackoverflow.com/questions/53457772/why-there-is-a-shadow-between-nested-navigator https://stackoverflow.com/questions/68986632/rid-of-elevation-of-nested-flutter-navigator-2-0
- Inheritance
-
- Object
- PageTransitionsBuilder
- NoShadowCupertinoPageTransitionsBuilder
- Annotations
-
- @Deprecated('The issue, this builder fixes, was already fixed in the freamework in v3.0.0' '(https://github.com/flutter/flutter/pull/95537, ' 'https://docs.flutter.dev/release/release-notes/release-notes-3.0.0) ' 'so there is no more reason to use this builder. ' 'Will be deleted in the next major release. ' 'If you still need this builder for other reasons, ' 'use CupertinoPageTransitionsBuilder instead. as it is completely identic')
Constructors
- NoShadowCupertinoPageTransitionsBuilder()
-
Constructs a page transition animation that matches the iOS transition.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
route
arrives 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