TwitterLogin class

A Flutter plugin for authenticating users by using the native Twitter login SDKs on Android & iOS.

Constructors

TwitterLogin({@required String consumerKey, @required String consumerSecret})
Creates a new Twitter login instance, with the specified key and secret. [...]

Properties

consumerKey String
final
consumerSecret String
final
currentSession Future<TwitterSession>
Retrieves the currently active session, if any. [...]
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
isSessionActive Future<bool>
Returns whether the user is currently logged in or not. [...]
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

authorize() Future<TwitterLoginResult>
Logs the user in. [...]
logOut() Future<void>
Logs the currently logged in user out.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Constants

channel → const MethodChannel
const MethodChannel('com.bodnarrr/flutter_twitter_ab')