RouteDestination class

A destination that opens on its own route.

The shell hands over and gets out of the way. Nothing about the page it opens changes to accommodate being listed here.

A roster of these alone is a roster. It claims no stage and no knobs, so ShellPage draws the menu and nothing else — see ShellDestinations.all. That is worth saying because the shell used to require one StageDestination without anything saying so, and threw on the first build of a roster that had none.

Inheritance

Constructors

RouteDestination({required String id, required String label, required ShellCategory category, required WidgetBuilder open})
const

Properties

category ShellCategory
final
hashCode int
The hash code for this object.
no setterinherited
id String
finalinherited
label String
finalinherited
open WidgetBuilder
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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited