getPlayer function

Widget getPlayer({
  1. String? filePath,
  2. String? url,
  3. String? asset,
  4. double? width,
  5. double? height,
})

Implementation

Widget getPlayer(
        {String? filePath,
        String? url,
        String? asset,
        double? width,
        double? height}) =>
    VideoPlayerDesktop(
      filePath: filePath,
      url: url,
      asset: asset,
      width: width,
      height: height,
    );