FlexPlayerConfiguration class

Constructors

FlexPlayerConfiguration({bool isFullScreen = false, bool controlsVisible = true, Orientation orientationonFullScreen = Orientation.landscape, String? thumbnail, double? aspectRatio, bool autoDispose = true, bool autoPlay = true, bool loop = false, bool showControls = true, double volume = 1.0, double playbackSpeed = 1.0, Duration? position, bool isPlaying = false, bool autoQuality = true, Widget? errorWidget, bool showControlsOnError = true})

Properties

aspectRatio double?
final
autoDispose bool
final
autoPlay bool
final
autoQuality bool
final
controlsVisible bool
final
errorWidget Widget?
final
hashCode int
The hash code for this object.
no setterinherited
isFullScreen bool
final
isPlaying bool
final
loop bool
final
orientationonFullScreen Orientation
final
playbackSpeed double
final
position Duration?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showControls bool
final
showControlsOnError bool
final
thumbnail String?
final
volume double
final

Methods

copyWith({bool? isFullScreen, bool? controlsVisible, Orientation? orientationonFullScreen, String? thumbnail, double? aspectRatio, bool? autoDispose, bool? autoPlay, bool? loop, bool? showControls, double? volume, double? playbackSpeed, Duration? position, bool? isPlaying, bool? autoQuality, Widget? errorWidet, bool? showControlsOnError}) FlexPlayerConfiguration
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