FacebookAuthButton constructor
const
FacebookAuthButton({
- Key? key = const ValueKey<String>('FacebookAuthButton'),
- VoidCallback? onPressed,
- VoidCallback? onLongPress,
- ValueChanged<
bool> ? onHover, - ValueChanged<
bool> ? onFocusChange, - FocusNode? focusNode,
- bool? autofocus,
- String? text = 'Sign in with Facebook',
- @Deprecated('Use ThemeMode instead. ' 'This property has no more effect. ' 'This feature was deprecated after v3.0.0') bool darkMode = false,
- @Deprecated('Use TextDirection instead. ' 'This property has no more effect. ' 'This feature was deprecated after v3.0.0') bool rtl = false,
- bool isLoading = false,
- AuthButtonStyle style = const AuthButtonStyle(),
- ButtonStyle? materialStyle,
- ThemeMode themeMode = ThemeMode.system,
- TextDirection textDirection = TextDirection.ltr,
Implementation
const FacebookAuthButton({
super.key = const ValueKey<String>('FacebookAuthButton'),
super.onPressed,
super.onLongPress,
super.onHover,
super.onFocusChange,
super.focusNode,
super.autofocus,
super.text = 'Sign in with Facebook',
@Deprecated(
'Use ThemeMode instead. '
'This property has no more effect. '
'This feature was deprecated after v3.0.0',
)
bool darkMode = false,
@Deprecated(
'Use TextDirection instead. '
'This property has no more effect. '
'This feature was deprecated after v3.0.0',
)
bool rtl = false,
super.isLoading = false,
super.style,
super.materialStyle,
super.themeMode,
super.textDirection,
});