LarkRuntime class abstract
Abstract runtime that all Lark platforms implement.
The runtime handles:
- Mounting/rendering the component tree
- Platform-specific navigation
- Storage and persistence
- Event handling
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isClient → bool
-
Whether we're running on the client.
no setter
- isInteractive → bool
-
Whether this runtime supports interactive features (events, navigation).
no setter
- isServer → bool
-
Whether we're running on the server.
no setter
-
Navigation binding for router integration.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storage → StorageBinding
-
Storage binding for localStorage/sessionStorage.
no setter
- type → RuntimeType
-
The type of this runtime.
no setter
Methods
-
dispose(
) → void - Dispose the runtime and clean up resources.
-
mount(
Component root, {String? target}) → void - Mount the app to a target (e.g., DOM selector, widget tree).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
) → void - Force a re-render.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited