PageInfo class

Holds information of the generated RoutePage page

Might hold more info in the future

Constructors

PageInfo(String name, {required AutoRoutePageBuilder builder})
Default constructor
const
PageInfo.builder(String name, {required WidgetBuilderWithData builder})
Builds a new instance of PageInfo with the given parameters
factory
PageInfo.emptyShell(String name)
Builds an empty shell PageInfo with a const builder
const

Properties

builder → AutoRoutePageBuilder
The builder function of the generated RoutePage
final
hashCode → int
The hash code for this object.
no setteroverride
name → String
The name of the generated RoutePage
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? name, AutoRoutePageBuilder? builder}) → PageInfo
Creates a new instance of PageInfo with the given parameters
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.
override

Constants

redirect → const _NoBuilderPageInfo
Dummy PageInfo used to represent a redirect route
root → const _NoBuilderPageInfo
Dummy PageInfo used to represent the root route