StyletPlatform class abstract

Contract implemented by Stylet's platform backends.

Inheritance
  • Object
  • PlatformInterface
  • StyletPlatform
Implementers

Constructors

StyletPlatform()
Creates a token-verified Stylet platform backend.

Properties

events Stream<StyletEvent>
Every motion, prediction, correction, body action, device, and pad event.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getCapabilities() Future<StylusCapabilities>
Returns every feature this backend can potentially expose.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setTabletPadOverrideEnabled({required bool enabled}) Future<bool>
Enables or releases vendor-driver ownership of tablet-pad controls.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance StyletPlatform
The active platform backend.
getter/setter pair