ArcaneApp class

Root application component for Arcane Jaspr apps.

The stylesheet parameter is required - there is no default stylesheet. Import a concrete renderer package and pass its stylesheet here.

Inheritance

Constructors

ArcaneApp({required ArcaneStylesheet stylesheet, Brightness brightness = Brightness.dark, required Widget home, String? title, String? description, List<Widget>? head, bool includeFallbackScripts = true, Key? key})
const

Properties

brightness → Brightness
final
description → String?
final
hashCode → int
The hash code for this object.
no setterinherited
final
home → Widget
final
includeFallbackScripts → bool
final
key → Key?
Controls how one component replaces another component in the tree.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stylesheet → ArcaneStylesheet
final
title → String?
final

Methods

createElement() → Element
Creates a StatefulElement to manage this component's location in the tree.
inherited
createState() → State<ArcaneApp>
Creates the mutable state for this component at a given location in the tree.
override
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