ShareSocialMediaPlugin class

Constructors

ShareSocialMediaPlugin({required String consumerKey, required String consumerSecret})

Properties

consumerKey String
final
consumerSecret String
final
currentSession Future<TwitterSession?>
no setter
hashCode int
The hash code for this object.
no setterinherited
isSessionActive Future<bool>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

authorize() Future<TwitterLoginResult>
connectedInTwitter() Future<bool>
connectTwitter() → dynamic
currentSessionIOS() Future<Map?>
getProfileImage() Future<String>
logOut() Future<void>
Logs the currently logged in user out.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shareTwitter(String urlTemp) Future<Map?>
shareTwitteriOS(String tk, String tsk, String status, String ck, String csk) Future<Response>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

generateSignature(String method, String base, List<String> sortedItems, String tsk, String csk) String
shareInstagram(String text, String assetFile, String assetNameBackground) Future<void>
shareInstagramAlbum() Future<void>
shareLine(String urlTemp) Future<bool?>

Constants

channel → const MethodChannel