Video constructor

const Video({
  1. bool? autoPlay,
  2. bool? controls,
  3. CrossOriginType? crossOrigin,
  4. String? height,
  5. bool? loop,
  6. bool? muted,
  7. bool? playsInline,
  8. String? poster,
  9. PreloadType? preload,
  10. String? src,
  11. String? width,
  12. Key? key,
  13. NullableElementCallback? ref,
  14. String? id,
  15. String? title,
  16. String? style,
  17. String? className,
  18. bool? hidden,
  19. String? innerText,
  20. Widget? child,
  21. List<Widget>? children,
  22. EventCallback? onClick,
  23. Map<String, String>? additionalAttributes,
})

Implementation

const Video({
  this.autoPlay,
  this.controls,
  this.crossOrigin,
  this.height,
  this.loop,
  this.muted,
  this.playsInline,
  this.poster,
  this.preload,
  this.src,
  this.width,
  Key? key,
  NullableElementCallback? ref,
  String? id,
  String? title,
  String? style,
  String? className,
  bool? hidden,
  String? innerText,
  Widget? child,
  List<Widget>? children,
  EventCallback? onClick,
  Map<String, String>? additionalAttributes,
}) : super(
        key: key,
        ref: ref,
        id: id,
        title: title,
        style: style,
        className: className,
        hidden: hidden,
        innerText: innerText,
        child: child,
        children: children,
        onClick: onClick,
        additionalAttributes: additionalAttributes,
      );