PublishCanvas class final
A canvas (screen) of a published layout, as the model lists it: enough to route to it before its layout is loaded.
- Annotations
-
- @immutable
Constructors
- PublishCanvas({required String id, String name = '', String? path, ScreenRoute route = ScreenRoute.none})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
final
- name → String
-
The screen's name (a screen can be opened by name, loosely matched).
final
- path → String?
-
The screen's URL path pattern (
guide/:id,docs/*rest), if it has one.final - route → ScreenRoute
-
How the screen opens from a link: the screen beneath it, and whether
it is drawn over that one (translucent).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
Object? json) → PublishCanvas?