MinimalSheetPage<T> class

The go_router Page whose route is Minimal's page sheet: the modal card (or, with drawer: true, the edge-attached drawer), created on the root navigator so it rides above the shell's bar. In a wide window (MinimalBottomSheet.centresAt) the card stands centred over the page instead (MinimalBottomSheet.centredRoute); the drawer stays a drawer. A go_router route on the root navigator (parentNavigatorKey:) returns it from its pageBuilder with key: state.pageKey.

MinimalSheetPage<void>(key: const ValueKey('new-habit'), child: const NewHabitPage())
Inheritance

Constructors

MinimalSheetPage({required Widget child, bool drawer = false, LocalKey? key, String? name})
A sheet route's page around child.
const

Properties

arguments → Object?
The arguments passed to this route.
finalinherited
canPop → bool
When false, blocks the associated route from being popped.
finalinherited
child → Widget
The page: a MinimalScaffold.
final
drawer → bool
Whether it is the full-width drawer, rather than the inset card.
final
hashCode → int
The hash code for this object.
no setterinherited
key → LocalKey?
The key associated with this page.
finalinherited
name → String?
The name of the route (e.g., "/settings").
finalinherited
onPopInvoked → PopInvokedWithResultCallback<T>
Called after a pop on the associated route was handled.
finalinherited
restorationId → String?
Restoration ID to save and restore the state of the Route configured by this page.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

canUpdate(Page other) → bool
Whether this page can be updated with the other page.
inherited
createRoute(BuildContext context) → Route<T>
Creates the Route that corresponds to this page.
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