CustomPage<T extends Object?> class
- Inheritance
-
- Object
- RouteSettings
- Page<
T> - CustomPage
Constructors
-
CustomPage({required Widget child, required BuildCustomRoute<
T> buildCustomRoute, bool maintainState = true, bool fullscreenDialog = false, Duration transitionDuration = const Duration(milliseconds: 300), Color? barrierColor, String? barrierLabel, bool opaque = true, ImageFilter? filter, bool semanticsDismissible = true, bool barrierDismissible = true, LocalKey? key, String? name, Object? arguments, String? restorationId})
Properties
- arguments → Object?
-
The arguments passed to this route.
finalinherited
- barrierColor → Color?
-
final
- barrierDismissible → bool
-
final
- barrierLabel → String?
-
final
-
buildCustomRoute
→ BuildCustomRoute<
T> -
final
- child → Widget
-
The content to be shown in the Route created by this page.
final
- completerResult → Completer
-
final
- filter → ImageFilter?
-
final
- fullscreenDialog → bool
-
Whether this page route is a full-screen dialog.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → LocalKey?
-
The key associated with this page.
finalinherited
- maintainState → bool
-
Whether the route should remain in memory when it is inactive.
final
- name → String?
-
The name of the route (e.g., "/settings").
finalinherited
- opaque → bool
-
final
- 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
- semanticsDismissible → bool
-
final
- transitionDuration → Duration
-
final
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