NomosPeerRuntimeHost class final

The process-local Peer Runtime lifetime for a Flutter application.

This widget deliberately sits above every NomosReception. It owns the physical platform embedding, the Peer Office connection and the one application realm. Mounting or unmounting a Reception therefore cannot start, stop or dispose the peer.

Inheritance

Constructors

NomosPeerRuntimeHost({Key? key, required String cloud, required Widget child, NomosPeerHostCapabilities capabilities = NomosPeerHostCapabilities.none, NomosPlatformShell platformShell()?, void onRuntimeIdentity(NomosRuntimeIdentity identity)?})
const

Properties

capabilities → NomosPeerHostCapabilities
final
child → Widget
final
cloud → String
The discovery provider available to this peer. Application bindings do not repeat or override this physical routing capability.
final
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onRuntimeIdentity → void Function(NomosRuntimeIdentity identity)?
Receives what this resident peer is running: native kernel and runtime digests, and the law each open workspace's own custody serves. Called once the runtime is installed, then only when that record changes (at most once a minute). Observation only; it never opens or syncs anything.
final
platformShell → NomosPlatformShell Function()?
Physical host seam for black-box framework tests. Product code supplies capabilities, never a transport implementation.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<NomosPeerRuntimeHost>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

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

Static Methods

prewarm({required String cloud}) → void
Begin booting this application's peer at launch, before sign-in or the first frame: on the web, the worker's custody restore and kernel selection overlap the application's own start-up. cloud must be the value later given to this widget, which then reuses the boot. Native peers boot in their engine host, so this does nothing there.