ReceiveSharingIntentPlus class

A Flutter plugin to receive and handle intents (share & view) from other apps.

Supports Android and iOS.

Constructors

ReceiveSharingIntentPlus()

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

getInitialMedia() Future<List<SharedMediaFile>>
Returns a Future, which completes to one of the following:
getInitialText() Future<String?>
Returns a Future, which completes to one of the following:
getInitialTextAsUri() Future<Uri?>
A convenience method that returns the initially stored link as a new Uri object.
getMediaStream() Stream<List<SharedMediaFile>>
Sets up a broadcast stream for receiving incoming media share change events.
getTextStream() Stream<String>
Sets up a broadcast stream for receiving incoming link change events.
getTextStreamAsUri() Stream<Uri>
A convenience transformation of the stream to a Stream<Uri>.
reset() → void
Call this method if you already consumed the callback and don't want the same callback again