HamugaIdButton constructor
const
HamugaIdButton({
- Key? key,
- VoidCallback? onPressed,
- String text = 'Хамуга ID-р нэвтрэх',
- Widget? leadingIcon,
- Widget? trailingIcon,
- HamugaButtonSize size = HamugaButtonSize.md,
- HamugaButtonVariant variant = HamugaButtonVariant.secondaryGray,
- String? clientId,
- String? redirectUri,
- String? state,
- String? baseUrl,
- List<
HamugaIdScope> ? scope, - String? responseType,
- bool enabled = true,
- HamugaIdUsername? username,
Creates a HamugaIdButton.
Implementation
const HamugaIdButton({
super.key,
this.onPressed,
this.text = 'Хамуга ID-р нэвтрэх',
this.leadingIcon,
this.trailingIcon,
this.size = HamugaButtonSize.md,
this.variant = HamugaButtonVariant.secondaryGray,
this.clientId,
this.redirectUri,
this.state,
this.baseUrl,
this.scope,
this.responseType,
this.enabled = true,
this.username,
});