UIText constructor

const UIText({
  1. Key? key,
  2. required UIComponent componentData,
  3. required String taskId,
  4. required String rootId,
  5. dynamic textClickHandler(
    1. String
    )?,
  6. String? fontFamily,
  7. double? width,
  8. double? height,
  9. int? index,
  10. String? type,
  11. String? assetUrl,
  12. Map<String, dynamic>? assets,
  13. String? parentHeight,
  14. String? parentWidth,
})

Implementation

const UIText({
  super.key,
  required this.componentData,
  required this.taskId,
  required this.rootId,
  this.textClickHandler,
  this.fontFamily,
  this.width,
  this.height,
  this.index,
  this.type,
  this.assetUrl,
  this.assets,
  this.parentHeight,
  this.parentWidth,
});