UIVideo constructor

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

Implementation

const UIVideo({
  super.key,
  required this.taskId,
  required this.rootId,
  required this.componentData,
  this.videoClickHandler,
  this.assetUrl,
  required this.assets,
  this.index,
  this.parentHeight,
  this.parentWidth,
  this.height,
  this.width,
});