QuillNativeBridgeAndroid class

An implementation of QuillNativeBridgePlatform for Android.

Highly Experimental and can be removed.

Should extends QuillNativeBridgePlatform and not implements it as error will arise:

Assertion failed: "Platform interfaces must not be implemented with `implements`"

See Flutter #127396 and QuillNativeBridgePlatform for more details.

Inheritance
  • Object
  • PlatformInterface
  • QuillNativeBridgePlatform
  • QuillNativeBridgeAndroid

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

copyHtmlToClipboard(String html) Future<void>
Copies an HTML to the system clipboard to be pasted on other apps.
override
copyImageToClipboard(Uint8List imageBytes) Future<void>
Copies an image to the system clipboard to be pasted on other apps.
override
getClipboardFiles() Future<List<String>>
Returns the file paths from the system clipboard.
inherited
getClipboardGif() Future<Uint8List?>
Returns the copied GIF from the system clipboard.
override
getClipboardHtml() Future<String?>
Returns HTML from the system clipboard.
override
getClipboardImage() Future<Uint8List?>
Returns the copied image from the system clipboard.
override
isAppleSafari() bool
Returns whether the current browser is Safari on the web.
inherited
isIOSSimulator() Future<bool>
Checks if the app is running on iOS Simulator.
inherited
isSupported(QuillNativeBridgeFeature feature) Future<bool>
Checks if the specified feature is supported in the current implementation.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openGalleryApp() Future<void>
Opens the system gallery app.
inherited
saveImage(Uint8List imageBytes, {required ImageSaveOptions options}) Future<ImageSaveResult>
Saves an image to the device.
inherited
saveImageToGallery(Uint8List imageBytes, {required GalleryImageSaveOptions options}) Future<void>
Saves an image to the gallery app.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

registerWith() → void
Registers this class as the default instance of QuillNativeBridgePlatform.