App class
The application root: renders the header + main region, enforces the auth route guard, and mounts the screen for the active route. Owns the router/auth subscriptions for the app's lifetime.
Constructors
- App(AppContext ctx, HTMLElement root)
-
Creates the app bound to the
rootelement (#app).
Properties
- ctx → AppContext
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Disposes subscriptions and the mounted screen.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
) → void - Starts the app: wires subscriptions, the router, and renders.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited