ShareExtend class

Plugin for summoning a platform share sheet.

Constructors

ShareExtend()

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

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

Static Methods

share(String text, String type, {Rect? sharePositionOrigin, String? sharePanelTitle, String subject = "", String extraText = ""}) Future<void>
method to share with system ui It uses the ACTION_SEND Intent on Android and UIActivityViewController on iOS. list can be text or path list type "text", "image", "audio", "video" or "file" sharePositionOrigin only supports iPad os sharePanelTitle only supports android (some devices may not support) subject Intent.EXTRA_SUBJECT on Android and "subject" on iOS. extraText only supports android for Intent.EXTRA_TEXT when sharing image or file.
shareMultiple(List<String> list, String type, {Rect? sharePositionOrigin, String? sharePanelTitle, String subject = "", List<String>? extraTexts}) Future<void>
method to share with system ui It uses the ACTION_SEND Intent on Android and UIActivityViewController on iOS. list can be text or path list type "text", "image", "audio", "video" or "file" sharePositionOrigin only supports iPad os sharePanelTitle only supports android (some devices may not support) subject Intent.EXTRA_SUBJECT on Android and "subject" on iOS. extraText only supports android for Intent.EXTRA_TEXT when sharing image or file.