UIButton constructor

const UIButton({
  1. Key? key,
  2. required UIComponent componentData,
  3. required String taskId,
  4. required String rootId,
  5. required dynamic buttonClickHandler({
    1. String? clickType,
    2. String? target,
    3. String? widgetId,
    4. String? widgetType,
    })?,
  6. String? fontFamily,
  7. double? width,
  8. double? height,
  9. int? index,
})

Implementation

const UIButton({
  super.key,
  required this.componentData,
  required this.taskId,
  required this.rootId,
  required this.buttonClickHandler,
  this.fontFamily,
  this.width,
  this.height,
  this.index,
});