CustomAuthButton constructor

const CustomAuthButton({
  1. Key? key,
  2. VoidCallback? onPressed,
  3. VoidCallback? onLongPress,
  4. required String text,
  5. required String iconUrl,
  6. bool darkMode = false,
  7. bool rtl = false,
  8. bool isLoading = false,
  9. AuthButtonStyle? style,
})

Implementation

const CustomAuthButton({
  Key? key,
  VoidCallback? onPressed,
  VoidCallback? onLongPress,
  required String text,
  required this.iconUrl,
  bool darkMode = false,
  bool rtl = false,
  bool isLoading = false,
  AuthButtonStyle? style,
}) : super(
        key: key,
        onPressed: onPressed,
        onLongPress: onLongPress,
        text: text,
        darkMode: darkMode,
        rtl: rtl,
        isLoading: isLoading,
        style: style,
      );