MethodChannelStylet class
Stylet backend implemented with Flutter platform channels.
- Inheritance
-
- Object
- PlatformInterface
- StyletPlatform
- MethodChannelStylet
Constructors
- MethodChannelStylet({MethodChannel methodChannel = const MethodChannel(_methodChannelName), EventChannel eventChannel = const EventChannel(_eventChannelName)})
- Creates a platform-channel backend with optionally injected test channels.
Properties
- eventChannel → EventChannel
-
Channel used for continuous native input.
final
-
events
→ Stream<
StyletEvent> -
Every motion, prediction, correction, body action, device, and pad event.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
Channel used for request-response operations.
final
- 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.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited