isSupported method

Future<bool> isSupported(
  1. QuillNativeBridgeFeature feature
)

Checks if the specified feature is supported in the current implementation.

Will verify if the platform supports this feature, the platform implementation of the plugin, and the current running OS version.

For example if feature is:

  • Supported on Android API 21 (as an example) and the current Android API is 19 then will return false.

  • Supported on the web if Clipboard API (as another example) available in the current browser, and the current browser doesn't support it, will return false too. For this specific example, you will need to fallback to Clipboard events on Firefox or browsers that doesn't support Clipboard API.

  • Supported by the platform itself but the plugin currently implements it, then return false.

Always review the doc comment of a method before use for special notes.

See also: QuillNativeBridgeFeature

Implementation

Future<bool> isSupported(QuillNativeBridgeFeature feature) =>
    _platform.isSupported(feature);