XAction constructor

XAction(
  1. String label, {
  2. Icon? icon,
  3. IconData? iconData,
  4. bool checked = false,
  5. bool enable = true,
  6. Color? color,
  7. XActionDisplay? display,
  8. VoidCallback? action,
  9. XActionCallback? callback,
})

Implementation

XAction(this.label, {this.icon, this.iconData, this.checked = false, this.enable = true, this.color, this.display, this.action, this.callback});