BetterVideoPlayerConfiguration class

Constructors

BetterVideoPlayerConfiguration({bool autoPlay = true, bool looping = false, Widget placeholder = const SizedBox(), bool allowedScreenSleep = false, bool autoPlayWhenResume = true, Widget controls = const BetterVideoPlayerControls(isFullScreen: false), Widget fullScreenControls = const BetterVideoPlayerControls(isFullScreen: true)})
const

Properties

allowedScreenSleep bool
屏幕休眠
final
autoPlay bool
自动播放
final
autoPlayWhenResume bool
返回自动恢复播放
final
controls Widget
播放控制器
final
fullScreenControls Widget
全屏播放控件器
final
hashCode int
The hash code for this object.
no setterinherited
looping bool
循环播放
final
placeholder Widget
视频启动前占位布局
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({bool? autoPlay, bool? looping, Widget? placeholder, bool? allowedScreenSleep, bool? autoPlayWhenResume, Widget? controls, Widget? fullScreenControls}) BetterVideoPlayerConfiguration
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