PlayerControls class

Constructors

PlayerControls({required String videoUrl, String? videoTitle, String? videoThumbnail, bool looping = false, Color color = Colors.white, IconData playIcon = Icons.play_arrow, IconData pauseIcon = Icons.pause, IconData fullScreeIcon = Icons.fullscreen, IconData replayIcon = Icons.replay, IconData muteIcon = Icons.volume_up, IconData unMuteIcon = Icons.volume_off, PlayerStyle playerStyle = PlayerStyle.basicStyle, double functionKeyVisibleMillTime = 3000, double quickFastMillisecond = 1000, Duration? startingPosition = const Duration(), double aspectRatio = 16 / 9, TextStyle? textStyle, bool mute = false, AppBar? appBar})

Properties

appBar AppBar?
final
aspectRatio double
final
color Color
final
fullScreeIcon IconData
final
functionKeyVisibleMillTime double
final
hashCode int
The hash code for this object.
no setterinherited
looping bool
final
mute bool
final
muteIcon IconData
final
pauseIcon IconData
final
playerStyle PlayerStyle
final
playIcon IconData
final
quickFastMillisecond double
final
replayIcon IconData
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startingPosition Duration?
final
textStyle TextStyle?
final
unMuteIcon IconData
final
videoThumbnail String?
final
videoTitle String?
final
videoUrl String
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