ButtonItem constructor

ButtonItem({
  1. String? text,
  2. dynamic color,
  3. bool disabled = false,
  4. bool loading = false,
  5. dynamic onClick()?,
  6. Widget? customText,
})

Implementation

ButtonItem(
    {this.text,
    this.color,
    this.disabled: false,
    this.loading: false,
    this.onClick,
    this.customText});