ArcanePage class

A semantic, responsive page shell shared by Arcane Jaspr applications.

The component owns generic page structure only. Applications provide all copy, actions, and body content, while themes style the stable arcane-page-* hooks.

Inheritance

Constructors

ArcanePage({String? id, String? eyebrow, required String title, String? description, List<Widget> actions = const <Widget>[], required Widget body, ArcanePageWidth width = ArcanePageWidth.standard, bool standalone = true, String? semanticLabel, String classes = '', Map<String, String> attributes = const <String, String>{}, Key? key})
const

Properties

actions List<Widget>
final
attributes Map<String, String>
final
body Widget
final
classes String
final
description String?
final
eyebrow String?
final
hashCode int
The hash code for this object.
no setterinherited
id String?
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
semanticLabel String?
Overrides the accessible name of the page landmark.
final
standalone bool
Emits a top-level <main> and an <h1> when true. Set this to false when the page is nested inside a scaffold that already owns the main landmark; the root then becomes a labeled <section> with an <h2>.
final
title String
final
width ArcanePageWidth
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this component.
override
createElement() Element
Creates a StatelessElement to manage this component's location in the tree.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldRebuild(covariant Component newComponent) bool
Implement this method to determine whether a rebuild can be skipped.
inherited
toString() String
A string representation of this object.
inherited

Operators

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