LoginProvider constructor

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

Implementation

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