Yeet class

The class that defines your routing tree structure.

If several Yeets match a given path the very top one will be chosen.

Constructors

Yeet({String? path, bool caseSensitive = true, bool maintainState = true, bool fullscreenDialog = false, YeetWidgetBuilder? builder, List<Yeet>? children, YeetTransition transition = const YeetTransition.adaptive()})

Properties

builder YeetWidgetBuilder?
A function that gets the path and query parameters and builds the widget.
final
children List<Yeet>?
A list of subyeets of this yeet.
final
fullscreenDialog bool
Whether it's a dialog or a normal page.
final
hashCode int
The hash code for this object.
no setteroverride
maintainState bool
Whether or not to maintain the state of this yeet.
final
parameters List<String>
final
path String?
The blueprint path for this yeet.
final
regExp RegExp?
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transition YeetTransition
The default transition of this yeet.
final

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 o) bool
The equality operator.
override

Static Methods

of(BuildContext context) YeeterDelegate