PheasantRouterApp class

Constructors

PheasantRouterApp(PheasantTemplate app, {Router? router})

Properties

app ↔ PheasantTemplate
The Application as a PheasantTemplate (i.e as the App getter or your Application Component)
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state ↔ AppState
The state of the application as AppState
getter/setter pairinherited

Methods

build([String selector = '#output']) → void
Builds the pheasant application and renders it into the dom. Specify selector to choose to render to a specific component like one with an id of "out" ("#out"). Defaults to "#output".
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
use({required Router router}) PheasantRouterApp

Operators

operator ==(Object other) bool
The equality operator.
inherited