LoginProvider class

Constructors

LoginProvider({Buttons? button, IconData? icon, required ProviderAuthCallback callback, String label = '', ProviderNeedsSignUpCallback? providerNeedsSignUpCallback, bool animated = true})
const

Properties

animated → bool
Enable or disable the animation of the button.
final
button → Buttons?
Used for custom sign-in buttons.
final
callback → ProviderAuthCallback
A Function called when the provider button is pressed. It must return null on success, or a String describing the error on failure.
final
hashCode → int
The hash code for this object.
no setterinherited
icon → IconData?
The icon shown on the provider button
final
label → String
The label shown under the provider
final
providerNeedsSignUpCallback → ProviderNeedsSignUpCallback?
Optional
final
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