MediaPlaybackPreference class final
Cofigure preference for MediaPlayback
.
- Annotations
Constructors
- MediaPlaybackPreference({bool muted = true, bool autoplay = true, VideoSize videoSize = (width: null, height: null), double videoScale = 1.0})
-
Create preference
const
Properties
- autoplay → bool
-
Allow
MediaPlayback
play media once all context has been loaded already.final - hashCode → int
-
The hash code for this object.
no setterinherited
- muted → bool
-
Determine media playback is muted initially.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- videoScale → double
-
Scale of video frame.
final
- videoSize → VideoSize
-
Determine fixed sizes of video playback.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited