Fluent2Page<T> class

The go_router Page for a route pushed off a root: on Material's page route, so the push runs the page motion the Fluent2Theme sets for the platform (Fluent2PageTransitionsBuilder: Fluent 2's own, everywhere, on iOS with the swipe back from the screen's leading edge), standing on the ground (on the desktop, the content layer the shell stands its pages on).

Its chrome is derived, never authored: a Fluent2Scaffold inside reads the route's register and draws the way back. Build one through ChromeRoutes.page(fluent2Chrome, ...), which keys it and, on a media ground, stands it in the dark tokens under a light status bar.

Fluent2Page<void>(child: const FilePage())
Inheritance

Constructors

Fluent2Page({required Widget child, LocalKey? key, String? name})
A page that builds 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's content.
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