LayoutDefinition class
A layout route definition for persistent shells.
Constructors
-
LayoutDefinition({String? id, required Widget builder(Widget child), required List<
RouteDefinition> children})
Properties
- builder → Widget Function(Widget child)
-
The layout widget builder.
final
-
children
→ List<
RouteDefinition> -
Child routes rendered inside this layout.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
Optional layout ID for merging multiple groups.
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