StudioSheetPage<T> class

The router's page for a route raised as a sheet: its screen (a StudioScreen, whose bar then carries the close key) in a StudioSheet drawn out from the bottom edge as showStudioBottomSheet draws one (on ui_core's DesignBottomSheetRoute: a drag takes it down, focus moves in and back), 90% of the screen tall, or as tall as its content when drawer; with fullScreen it rises as a whole page of metal instead (a page route). Its screen reads RoutePresentation.sheet. A go_router route's pageBuilder returns it with the route's state.pageKey.

StudioSheetPage<void>(key: state.pageKey, drawer: true, child: const ExportPage())
Inheritance

Constructors

StudioSheetPage({required Widget child, bool drawer = false, bool fullScreen = false, LocalKey? key, String? name, Object? arguments, String? restorationId})
A sheet of 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 sheet's screen, usually a StudioScreen.
final
drawer → bool
Whether it stands as tall as its content rather than 90% of the screen.
final
fullScreen → bool
Whether it is raised as a whole page rather than a sheet.
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