UIButton constructor

UIButton({
  1. int elementId = 0,
  2. List<String> labels = const [],
  3. String styleId = '',
  4. String text = '',
  5. UIIconType icon = UIIconType.none,
  6. UIColor color = UIColor.default_,
  7. String clickActionId = '',
  8. UIButtonVariant variant = UIButtonVariant.outlined,
  9. String pressStartActionId = '',
  10. String pressEndActionId = '',
  11. String pressChangeActionId = '',
  12. String pressUpActionId = '',
  13. String dragStartActionId = '',
  14. String dragEnterActionId = '',
  15. String dragLeaveActionId = '',
  16. String dragOverActionId = '',
  17. String dropActionId = '',
  18. String dragEndActionId = '',
})

Implementation

UIButton({
    this.elementId = 0,
    this.labels = const [],
    this.styleId = '',
    this.text = '',
    this.icon = UIIconType.none,
    this.color = UIColor.default_,
    this.clickActionId = '',
    this.variant = UIButtonVariant.outlined,
    this.pressStartActionId = '',
    this.pressEndActionId = '',
    this.pressChangeActionId = '',
    this.pressUpActionId = '',
    this.dragStartActionId = '',
    this.dragEnterActionId = '',
    this.dragLeaveActionId = '',
    this.dragOverActionId = '',
    this.dropActionId = '',
    this.dragEndActionId = '',
});