HamugaIdButton constructor

const HamugaIdButton({
  1. Key? key,
  2. VoidCallback? onPressed,
  3. String text = 'Хамуга ID-р нэвтрэх',
  4. Widget? leadingIcon,
  5. Widget? trailingIcon,
  6. HamugaButtonSize size = HamugaButtonSize.md,
  7. HamugaButtonVariant variant = HamugaButtonVariant.secondaryGray,
  8. String? clientId,
  9. String? redirectUri,
  10. String? state,
  11. String? baseUrl,
  12. List<HamugaIdScope>? scope,
  13. String? responseType,
  14. bool enabled = true,
  15. 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,
});