ShareModule class
WebF module for sharing content, text, and images
This module provides functionality to share images, text, save screenshots, and create preview images for display.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- moduleManager → ModuleManager?
-
finalinherited
- name → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispatchEvent(
{Event? event, dynamic data}) → dynamic -
inherited
-
dispose(
) → void -
handleSaveForPreview(
NativeByteData snapshot, [String? filename]) → Future< ShareSaveResult> - Save screenshot for preview display (temporary file)
-
handleSaveScreenshot(
NativeByteData snapshot, [String? filename]) → Future< ShareSaveResult> - Save screenshot to device gallery/downloads
- Share an image with optional text and subject.
- Handle text-only sharing
-
initialize(
) → Future< void> -
inherited
-
invoke(
String method, List params) → Future -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
NativeByteData imageData, dynamic filename) → Future< ShareSaveResult> -
saveForPreview(
NativeByteData imageData, dynamic filename) → Future< ShareSaveResult> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited