GithubAuthButton constructor

const GithubAuthButton({
  1. Key? key = const ValueKey<String>('GithubAuthButton'),
  2. VoidCallback? onPressed,
  3. VoidCallback? onLongPress,
  4. ValueChanged<bool>? onHover,
  5. ValueChanged<bool>? onFocusChange,
  6. FocusNode? focusNode,
  7. bool? autofocus,
  8. String? text = 'Sign in with Github',
  9. @Deprecated('Use ThemeMode instead. ' 'This property has no more effect. ' 'This feature was deprecated after v3.0.0') bool darkMode = false,
  10. @Deprecated('Use TextDirection instead. ' 'This property has no more effect. ' 'This feature was deprecated after v3.0.0') bool rtl = false,
  11. bool isLoading = false,
  12. AuthButtonStyle style = const AuthButtonStyle(),
  13. ButtonStyle? materialStyle,
  14. ThemeMode themeMode = ThemeMode.system,
  15. TextDirection textDirection = TextDirection.ltr,
})

Implementation

const GithubAuthButton({
  super.key = const ValueKey<String>('GithubAuthButton'),
  super.onPressed,
  super.onLongPress,
  super.onHover,
  super.onFocusChange,
  super.focusNode,
  super.autofocus,
  super.text = 'Sign in with Github',
  @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,
});