SuperClipboardService class
Implementation based on https://pub.dev/packages/super_clipboard
Constructors
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
-
canPaste(
) → Future< bool> -
canProvideGifFile(
) → Future< bool> -
canProvideHtmlText(
) → Future< bool> -
canProvideHtmlTextFromFile(
) → Future< bool> -
canProvideImageFile(
) → Future< bool> - This will need to be updated if getImageFileAsBytes updated. Notice that even if the copied image is JPEG, it still can be provided as PNG, will handle JPEG check in case this info is incorrect.
-
canProvideMarkdownText(
) → Future< bool> -
canProvideMarkdownTextFromFile(
) → Future< bool> -
canProvidePlainText(
) → Future< bool> -
getGifFileAsBytes(
) → Future< Uint8List> -
getHtmlText(
) → Future< String?> - Get Clipboard content as Html Text, this is platform specific and not the same as getPlainText for two reasons:
-
getHtmlTextFromFile(
) → Future< String?> - Get the Html file in the Clipboard from the system
-
getImageFileAsBytes(
) → Future< Uint8List> - This will need to be updated if canProvideImageFile updated.
-
getMarkdownText(
) → Future< String?> - Get Clipboard content as Markdown Text, this is platform specific and not the same as getPlainText for two reasons:
-
getMarkdownTextFromFile(
) → Future< String?> - Get the Markdown file in the Clipboard from the system
-
getPlainText(
) → Future< String?> -
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