video static method

ARKitMaterialVideo video({
  1. required int width,
  2. required int height,
  3. String? filename,
  4. String? url,
  5. bool? autoplay = true,
})

Specifies the receiver's video.

Implementation

static ARKitMaterialVideo video({
  required int width,
  required int height,
  String? filename,
  String? url,
  bool? autoplay = true,
}) =>
    ARKitMaterialVideo(
      filename: filename,
      url: url,
      width: width,
      height: height,
      autoplay: autoplay ?? true,
    );