ShareService class

A Flutter plugin for sharing links and files via native Android functionality. This plugin provides methods to share text links and files with other apps, including social media platforms, email clients, and more.

Constructors

ShareService.new()

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

shareFile({required String filePath}) Future<void>
Shares a file using the platform's native sharing functionality.
Shares a link using the platform's native sharing functionality.