QDRoute class

Define declarative route used with QDeclarative

Constructors

QDRoute({required String name, required PageBuilder builder, required bool when(), bool? onPop()?, QPage? pageType})
const

Properties

builder PageBuilder
The default widget builder for this route
final
hashCode int
The hash code for this object.
no setterinherited
name String
The name of this route
final
onPop bool? Function()?
what should happen when user try to pop the page
final
pageType QPage?
Set the page type for this route you can use QMaterialPage, QCupertinoPage or QPlatformPage The default is QPlatformPage
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
when bool Function()
The condition to show this page
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 other) bool
The equality operator.
inherited