RouteBarrierDetails class

Configuration details for a custom modal barrier.

Passed to a RouteBarrierBuilder by the routing framework to provide the ambient variables associated with the route's modal barrier.

Constructors

RouteBarrierDetails({required Animation<double> animation, Color? barrierColor, String? barrierLabel, required bool barrierDismissible})
Creates an object that contains the configuration for a modal barrier.
const

Properties

animation → Animation<double>
An animation that drives the route's transition.
final
barrierColor → Color?
The color to paint behind the route.
final
barrierDismissible → bool
Whether touching the barrier will pop the current route off the Navigator.
final
barrierLabel → String?
The semantic label used for the barrier.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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