ARKitMaterialVideo class

Specifies the receiver's video. Initializes a video using a video file stored in the app bundle or using a URL.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

ARKitMaterialVideo({required int width, required int height, bool autoplay = true, String? filename, String? url})

Properties

autoplay bool
final
filename String?
final
hashCode int
The hash code for this object.
no setterinherited
height int
final
id String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
finalinherited
url String?
final
width int
final

Methods

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() Future<void>
Pauses video playback.
play() Future<void>
Starts video playback.
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromJson(Map<String, dynamic> json) ARKitMaterialVideo
override