CascadePage class

Inheritance

Constructors

CascadePage({required LocalKey key, required List<CascadeModel> data, String? title, required dynamic to(CascadeModel, String), required dynamic ok(CascadeModel?)})

Properties

arguments Object?
The arguments passed to this route.
finalinherited
data List<CascadeModel>
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
ok → dynamic Function(CascadeModel?)
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
title String?
final
to → dynamic Function(CascadeModel, String)
final

Methods

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