UVideoView constructor
const
UVideoView({
- required UMediaController controller,
- Key? key,
- UMediaFit fit = UMediaFit.contain,
- double zoom = 1,
- Offset pan = Offset.zero,
- int rotationDegrees = 0,
- bool mirrored = false,
- Color? backgroundColor,
- Widget? placeholder,
- Widget errorBuilder(
- BuildContext context,
- UMediaError error
Implementation
const UVideoView({
required this.controller,
super.key,
this.fit = UMediaFit.contain,
this.zoom = 1,
this.pan = Offset.zero,
this.rotationDegrees = 0,
this.mirrored = false,
this.backgroundColor,
this.placeholder,
this.errorBuilder,
});