ApplicationBuilder class

Constructors

ApplicationBuilder({required String title, required String version})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRoute(String path, String resourceUri) ApplicationBuilder
build() Map<String, dynamic>
category(String category) ApplicationBuilder
Set app category (e.g., productivity, education, entertainment)
dashboard({required Map<String, dynamic> content, int? refreshInterval, Map<String, dynamic>? onTap}) ApplicationBuilder
Set dashboard compact rendering configuration (v1.3)
description(String description) ApplicationBuilder
Set app description for listing display
fullTheme({String mode = 'light', Map<String, dynamic>? colors, Map<String, dynamic>? typography, Map<String, dynamic>? spacing, Map<String, dynamic>? borderRadius, Map<String, dynamic>? elevation, Map<String, dynamic>? light, Map<String, dynamic>? dark}) ApplicationBuilder
Add a complete theme with all sections
i18n({required String defaultLocale, List<String>? locales, String? fallbackLocale, Map<String, dynamic>? text, Map<String, dynamic>? pluralization, Map<String, dynamic>? numberFormat, Map<String, dynamic>? dateFormat, Map<String, dynamic>? textDirection}) ApplicationBuilder
Set application-scope i18n block per spec § 12.1.1.
icon(String icon) ApplicationBuilder
Set app icon — URL, data URI, or bundle:// reference
id(String id) ApplicationBuilder
Set app unique identifier (e.g., com.example.myapp)
initialRoute(String route) ApplicationBuilder
initialState(Map<String, dynamic> state) ApplicationBuilder
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
publisher({required String name, String? website, String? email}) ApplicationBuilder
Set publisher information
screenshots(List<String> screenshots) ApplicationBuilder
Set preview screenshots — URLs, data URIs, or bundle:// references
services(Map<String, Map<String, dynamic>> services) ApplicationBuilder
Register an application-scope background service (spec § 1.2.1).
splash({String? image, String? backgroundColor, int? duration}) ApplicationBuilder
Set splash screen configuration
templateLibraries(List<Map<String, dynamic>> libraries) ApplicationBuilder
Reference remote template libraries per spec § 9.11.1. Each entry is a { uri, version?, integrity? } map.
theme(Map<String, dynamic> theme) ApplicationBuilder
themeColors(Map<String, dynamic> colors) ApplicationBuilder
Add theme colors
themeMode(String mode) ApplicationBuilder
Set theme mode
themeSpacing(Map<String, dynamic> spacing) ApplicationBuilder
Add theme spacing
themeTypography(Map<String, dynamic> typography) ApplicationBuilder
Add theme typography
timestamps({String? createdAt, String? updatedAt}) ApplicationBuilder
Set creation and update timestamps (ISO 8601 strings)
toString() String
A string representation of this object.
inherited

Operators

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