Android class

Android-specific social media sharing functionality.

This class provides methods for sharing content to various social media platforms on Android devices. It supports both single and multiple file sharing, with platform-specific optimizations for Android.

Constructors

Android()

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

copyToClipBoard(String message) Future<String>
Copies text to the device clipboard.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shareFilesToInstagramFeed(List<String> imagePaths) Future<String>
Shares multiple images to Instagram Feed on Android.
shareFilesToSMS(List<String> filePaths) Future<String>
Shares multiple files via SMS on Android.
shareFilesToSystem(String title, List<String> filePaths) Future<String>
Shares multiple files using Android's system sharing dialog.
shareFilesToTelegram(List<String> filePaths) Future<String>
Shares multiple files to Telegram on Android.
shareFilesToWhatsapp(List<String> filePaths) Future<String>
Shares multiple files to WhatsApp on Android.
shareToFacebook(String hashtag, List<String> filePaths) Future<String>
Shares content to Facebook with hashtags and files.
shareToFacebookStory(String appId, {String? stickerImage, String? backgroundImage, String? backgroundVideo, String? backgroundTopColor, String? backgroundBottomColor, String? attributionURL}) Future<String>
Shares content to Facebook Stories with customizable background and sticker.
shareToInstagramDirect(String message) Future<String>
Shares a message to Instagram Direct Messages.
shareToInstagramFeed(String message, String? filePath) Future<String>
Shares a message and optional file to Instagram Feed.
shareToInstagramReels(List<String> videoPaths) Future<String>
Shares multiple videos to Instagram Reels on Android.
shareToInstagramStory(String appId, {String? stickerImage, String? backgroundImage, String? backgroundVideo, String? backgroundTopColor, String? backgroundBottomColor, String? attributionURL}) Future<String>
Shares content to Instagram Stories with customizable background and sticker.
shareToMessenger(String message) Future<String>
Shares a message to Facebook Messenger.
shareToSMS(String message, String? filePath) Future<String>
Shares a message and optional file via SMS on Android.
shareToSystem(String title, String message, String? filePath) Future<String>
Shares content using Android's system sharing dialog.
shareToTelegram(String message, String? filePath) Future<String>
Shares a message and optional file to Telegram on Android.
shareToTiktokStatus(List<String> filePaths) Future<String>
Shares files to TikTok Status (Android only).
shareToTwitter(String message, String? filePath) Future<String>
Shares a message and optional file to Twitter on Android.
shareToWhatsapp(String message, String? filePath) Future<String>
Shares a message and optional file to WhatsApp on Android.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited