MediaPlayback constructor
MediaPlayback(
- Iterable<
Uri> resources, { - PlayerConfiguration? configuration,
- VideoControllerConfiguration? videoCtrlConfiguration,
- AspectRatioValue aspectRatio = AspectRatioValue.standardHD,
- Key? key,
Construct a playback widgets with given resources.
Implementation
MediaPlayback(Iterable<Uri> resources,
{this.configuration,
this.videoCtrlConfiguration,
this.aspectRatio = AspectRatioValue.standardHD,
super.key})
: resources = List.unmodifiable(resources);