APPUIPage class

One UI page of the app. Exactly one of the two delivery mechanisms must be populated: inline CONTENT (with ENCODING describing its string form), or MODULE_ID plus URL for a page served by a member module. Inline pages must be fully self-contained — CSS and JS inlined, all assets embedded as data URIs, zero external requests.

Constructors

APPUIPage(List<int> bytes)
factory

Properties

COLOR → String?
Launcher accent color, CSS color syntax.
no setter
CONTENT → String?
Inlined, self-contained page in the string form declared by ENCODING. Empty when the page is module-served via MODULE_ID and URL.
no setter
CONTENT_SHA256 → String?
64 lowercase hexadecimal characters encoding SHA-256 of the decoded page bytes, so a launcher can verify inline content after decoding.
no setter
contentSha256 → String?
no setter
DESCRIPTION → String?
Human-readable summary. Falls back to the app DESCRIPTION when empty.
no setter
ENCODING → appContentEncoding
String form of CONTENT.
no setter
ENTRY → bool
True for the page the launcher opens first. Exactly one page in an app must set this when UI is present.
no setter
hashCode → int
The hash code for this object.
no setterinherited
ICON → String?
Launcher icon identifier or inline data URI.
no setter
ID → String?
App-local stable reference for this page. Required, unique within the manifest.
no setter
MEDIA_TYPE → String?
IANA media type of the decoded page bytes, for example text/html.
no setter
mediaType → String?
no setter
MODULE_ID → String?
When module-served, must equal an APPModuleRef.ID in the same manifest — the member module that serves this page.
no setter
moduleId → String?
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
TEXT_COLOR → String?
Launcher text color, CSS color syntax.
no setter
textColor → String?
no setter
TITLE → String?
Display title. Falls back to the app NAME when empty.
no setter
URL → String?
When module-served, the path or entrypoint the module serves the page at.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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

Constants

reader → const Reader<APPUIPage>