ModalConfiguration class abstract
A configuration object containing the properties needed to implement a modal route.
The barrierDismissible
argument is used to determine whether this route
can be dismissed by tapping the modal barrier. This argument defaults
to true. If barrierDismissible
is true, a non-null barrierLabel
must be
provided.
The barrierLabel
argument is the semantic label used for a dismissible
barrier. This argument defaults to "Dismiss".
- Implementers
Constructors
Properties
- barrierColor → Color
-
The color to use for the modal barrier. If this is null, the barrier will
be transparent.
final
- barrierDismissible → bool
-
Whether you can dismiss this route by tapping the modal barrier.
final
- barrierLabel → String?
-
The semantic label used for a dismissible barrier.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- reverseTransitionDuration → Duration
-
The duration of the transition running in reverse.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transitionDuration → Duration
-
The duration of the transition running forwards.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transitionBuilder(
BuildContext context, Animation< double> animation, Animation<double> secondaryAnimation, Widget child) → Widget - A builder that defines how the route arrives on and leaves the screen.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited