AirRoute class

A wrapper for declaring routes in Air Framework

Constructors

AirRoute({required String path, required Widget builder(BuildContext context, GoRouterState state), List<AirRoute> routes = const [], bool isShellRoute = false})

Properties

builder Widget Function(BuildContext context, GoRouterState state)
Builder function that receives context and GoRouterState for type-safe access to route parameters
final
hashCode int
The hash code for this object.
no setterinherited
isShellRoute bool
final
path String
final
routes List<AirRoute>
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