VideoViewer constructor
const
VideoViewer({
- Key? key,
- required Trimmer trimmer,
- Color borderColor = Colors.transparent,
- double borderWidth = 0.0,
- EdgeInsets padding = const EdgeInsets.all(0.0),
For showing the video playback area.
This only contains optional parameters. They are:
-
borderColorfor specifying the color of the video viewer area border. By default it is set toColors.transparent. -
borderWidthfor specifying the border width around the video viewer area. By default it is set to0.0. -
paddingfor specifying a padding around the video viewer area. By default it is set toEdgeInsets.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);