TwinScreenWeb class

Web implementation of TwinScreenPlatform.

Inheritance

Constructors

TwinScreenWeb()
Creates the web implementation.

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rememberDeviceType(TwinDeviceType type) → Future<void>
Tells the platform which hardware type a fold revealed, so it can report it on later launches before any fold is visible (for example on the cover screen). The default does nothing.
inherited
toString() → String
A string representation of this object.
inherited
watchState() → Stream<TwinPlatformState>
Emits the current state as soon as it is known, then every change.
override

Operators

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

Static Methods

registerWith(Registrar registrar) → void
Registers this class as the platform implementation.