Button constructor
Button({
- void onClick()?,
- Widget? child,
- String text = '',
- ButtonType? type,
- ButtonShape? shape,
- bool loading = false,
- bool disabled = false,
- bool danger = false,
- IconData? icon,
Implementation
Button({
this.onClick,
this.child,
this.text = '',
this.type,
this.shape,
this.loading = false,
this.disabled = false,
this.danger = false,
this.icon,
});