CustomAuthButton constructor
const
CustomAuthButton({
- Key? key,
- VoidCallback? onPressed,
- VoidCallback? onLongPress,
- required String text,
- required String iconUrl,
- bool darkMode = false,
- bool rtl = false,
- bool isLoading = false,
- 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,
);