FacebookLogin class

Class for implementing login via Facebook.

Constructors

FacebookLogin({bool debug = false})

Properties

accessToken Future<FacebookAccessToken?>
no setter
debug bool
If true all requests and results will be printed in console.
final
hashCode int
The hash code for this object.
no setterinherited
isLoggedIn Future<bool>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdkVersion Future<String>
Returns currently used Facebook SDK.
no setter

Methods

expressLogin() Future<FacebookLoginResult>
Start Express log in Facebook process
getProfileImageUrl({required int width, int? height}) Future<String?>
Get user profile image url.
getUserEmail() Future<String?>
Get user email.
getUserProfile() Future<FacebookUserProfile?>
Get user profile information.
logIn({List<FacebookPermission> permissions = const [FacebookPermission.publicProfile], List<String> customPermissions = const []}) Future<FacebookLoginResult>
Start log in Facebook process.
logOut() Future<void>
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