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