LoginProvider constructor

const LoginProvider({
  1. Buttons? button,
  2. IconData? icon,
  3. ProviderAuthCallback? callback,
  4. String label = '',
  5. ProviderNeedsSignUpCallback? providerNeedsSignUpCallback,
})

Enable or disable the animation of the button.

Default: enabled

Implementation

// final bool animated;

const LoginProvider({
  this.button,
  this.icon,
  this.callback,
  this.label = '',
  this.providerNeedsSignUpCallback,
  // this.animated = true
}) : assert(button != null || icon != null);