JxButton constructor

const JxButton(
  1. List<Component> children, {
  2. JxButtonVariant variant = JxButtonVariant.primary,
  3. JxButtonSize size = JxButtonSize.md,
  4. VoidCallback? onClick,
  5. String? href,
  6. ButtonType type = ButtonType.button,
  7. bool disabled = false,
  8. bool loading = false,
  9. bool fullWidth = false,
  10. String? classes,
  11. Map<String, String>? attributes,
  12. Key? key,
})

Implementation

const JxButton(
  this.children, {
  this.variant = JxButtonVariant.primary,
  this.size = JxButtonSize.md,
  this.onClick,
  this.href,
  this.type = ButtonType.button,
  this.disabled = false,
  this.loading = false,
  this.fullWidth = false,
  this.classes,
  this.attributes,
  super.key,
});