EmailAuthButton constructor

const EmailAuthButton({
  1. Key? key,
  2. VoidCallback? onPressed,
  3. VoidCallback? onLongPress,
  4. String text = 'Sign in with Email',
  5. bool darkMode = false,
  6. bool rtl = false,
  7. bool isLoading = false,
  8. AuthButtonStyle? style,
})

Implementation

const EmailAuthButton({
  Key? key,
  VoidCallback? onPressed,
  VoidCallback? onLongPress,
  String text = 'Sign in with Email',
  bool darkMode = false,
  bool rtl = false,
  bool isLoading = false,
  AuthButtonStyle? style,
}) : super(
        key: key ?? const ValueKey<String>('EmailAuthButton'),
        onPressed: onPressed,
        onLongPress: onLongPress,
        text: text,
        darkMode: darkMode,
        rtl: rtl,
        isLoading: isLoading,
        style: style,
      );