VideoViewer constructor

const VideoViewer({
  1. Key? key,
  2. required Trimmer trimmer,
  3. Color borderColor = Colors.transparent,
  4. double borderWidth = 0.0,
  5. EdgeInsets padding = const EdgeInsets.all(0.0),
})

For showing the video playback area.

This only contains optional parameters. They are:

  • borderColor for specifying the color of the video viewer area border. By default it is set to Colors.transparent.

  • borderWidth for specifying the border width around the video viewer area. By default it is set to 0.0.

  • padding for specifying a padding around the video viewer area. By default it is set to EdgeInsets.all(0.0).

Implementation

const VideoViewer({
  Key? key,
  required this.trimmer,
  this.borderColor = Colors.transparent,
  this.borderWidth = 0.0,
  this.padding = const EdgeInsets.all(0.0),
}) : super(key: key);