FlutterNativePlayer constructor

const FlutterNativePlayer({
  1. Key? key,
  2. required PlayerResource playerResource,
  3. PlayerProgressColors? progressColors,
  4. bool playWhenReady = true,
  5. required double width,
  6. 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);