FlutterNativePlayer constructor
const
FlutterNativePlayer({
- Key? key,
- required PlayerResource playerResource,
- PlayerProgressColors? progressColors,
- bool playWhenReady = true,
- required double width,
- required double height,
Implementation
const FlutterNativePlayer(
{Key? key,
required this.playerResource,
this.progressColors,
this.playWhenReady = true,
required this.width,
required this.height})
: super(key: key);