BlingVideoPlayer constructor
const
BlingVideoPlayer({
- Key? key,
- BlingVideoPlayerController? controller,
- double? width,
- double? height,
- Alignment? alignment,
- BoxFit? fit,
- BlingVideoBuilder? indicatorBuilder,
- BlingVideoBuilder? placeholderBuilder,
- BlingVideoBuilder? bufferBuilder,
- Color? color,
- PanelBuilder? panelBuilder,
- AsyncErrorWidgetBuilder? errorWidgetBuilder,
- InitializedBuilder? initializedBuilder,
- bool? delayInit,
Creates a widget that displays an videoPlayer. If you're just playing a video and not doing too much,you might want to use a convenience constructor BlingVideoPlayer.assets、 BlingVideoPlayer.file or BlingVideoPlayer.network
Implementation
const BlingVideoPlayer(
{Key? key,
BlingVideoPlayerController? controller,
double? width,
double? height,
Alignment? alignment,
BoxFit? fit,
BlingVideoBuilder? indicatorBuilder,
BlingVideoBuilder? placeholderBuilder,
BlingVideoBuilder? bufferBuilder,
Color? color,
PanelBuilder? panelBuilder,
AsyncErrorWidgetBuilder? errorWidgetBuilder,
InitializedBuilder? initializedBuilder,
bool? delayInit})
: _dataSource = null,
_mixWithOthers = null,
_package = null,
_closedCaptionFile = null,
_isLooping = null,
super(controller,
key: key,
width: width,
height: height,
alignment: alignment,
fit: fit,
indicatorBuilder: indicatorBuilder,
placeholderBuilder: placeholderBuilder,
bufferBuilder: bufferBuilder,
color: color,
panelBuilder: panelBuilder,
errorWidgetBuilder: errorWidgetBuilder,
initializedBuilder: initializedBuilder);