scribe constant

MethodChannel const scribe

A MethodChannel for handling Android Scribe stylus handwriting input.

Android's Scribe feature allows writing directly on top of a text input using a stylus.

The following methods are defined for this channel:

  • Scribe.startStylusHandwriting: Indicates that stylus input has been detected and Android should start handwriting input.
  • Scribe.isStylusHandwritingAvailable: Returns a boolean representing whether or not the device currently supports accepting stylus handwriting input. Throws if the device's API level is not sufficient.
  • Scribe.isFeatureAvailable: Returns a boolean representing whether or not the device currently supports accepting stylus handwriting input. Returns false and does not throw if the device's API level is not sufficient.

See also:

Implementation

static const MethodChannel scribe = OptionalMethodChannel('flutter/scribe', JSONMethodCodec());