ModalRouteTheme class
Constructors
- ModalRouteTheme.new({double? width, required EdgeInsets padding, required BorderRadius borderRadius, required EdgeInsets insetPadding, required bool barrierDismissible, RouteTransitionBuilder? transition})
- ModalRouteTheme.fromRoute(BuildContext context, TypeSafeModalRoute route)
-
factory
- ModalRouteTheme.styleFrom({double? width, EdgeInsets? padding, EdgeInsets? insetPadding, bool? barrierDismissible, BorderRadius? borderRadius, RouteTransitionBuilder? transition})
-
factory
Properties
- barrierDismissible → bool
-
final
- borderRadius → BorderRadius
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- insetPadding → EdgeInsets
-
final
- padding → EdgeInsets
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transition → RouteTransitionBuilder
-
final
- width → double?
-
final
Methods
-
copyWith(
{double? width, EdgeInsets? padding, EdgeInsets? insetPadding, bool? barrierDismissible, RouteTransitionBuilder? transition}) → ModalRouteTheme -
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