SafaehRouteOptions class
Shared size / motion / navigator knobs for showSafaeh and wrappers.
Nullable fields fill in when the matching named argument is omitted. barrierDismissible, useRootNavigator, and phonePlacement use the bag when non-null (function defaults cannot be told from an explicit pass).
showSafaehDialog reads rail / motion / barrier / navigator / fade / maxWidth / maxHeight. slideUp, phonePlacement, and tabletBreakpoint do not apply (the route stays a centered dialog).
Constructors
- SafaehRouteOptions({double railWidthOf(BuildContext context)?, double? tabletBreakpoint, double? maxWidth, double? maxHeight, bool? barrierDismissible, Duration? motion, Curve? enterCurve, Curve? exitCurve, SafaehTransition? fadeScale, SafaehTransition? slideUp, SafaehPhoneSheetPlacement? phonePlacement, String? dismissLabel, String? closeTooltip, SafaehFloatingAppearance? floatingAppearance})
-
const
Properties
- barrierDismissible → bool?
-
final
- closeTooltip → String?
-
Tablet header close. Defaults to Material close tooltip.
final
- dismissLabel → String?
-
Phone drag-handle label. Defaults to Material “Dismiss”.
final
- enterCurve → Curve?
-
final
- exitCurve → Curve?
-
final
- fadeScale → SafaehTransition?
-
final
- floatingAppearance → SafaehFloatingAppearance?
-
Appearance inherited by package-owned floating surfaces on this route.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxHeight → double?
-
final
- maxWidth → double?
-
final
- motion → Duration?
-
final
- phonePlacement → SafaehPhoneSheetPlacement?
-
final
- railWidthOf → double Function(BuildContext context)?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slideUp → SafaehTransition?
-
final
- tabletBreakpoint → double?
-
final
-
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited