JxButton constructor
const
JxButton(
- List<
Component> children, { - JxButtonVariant variant = JxButtonVariant.primary,
- JxButtonSize size = JxButtonSize.md,
- VoidCallback? onClick,
- String? href,
- ButtonType type = ButtonType.button,
- bool disabled = false,
- bool loading = false,
- bool fullWidth = false,
- String? classes,
- Map<
String, String> ? attributes, - 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,
});