UVideoView constructor

const UVideoView({
  1. required UMediaController controller,
  2. Key? key,
  3. UMediaFit fit = UMediaFit.contain,
  4. double zoom = 1,
  5. Offset pan = Offset.zero,
  6. int rotationDegrees = 0,
  7. bool mirrored = false,
  8. Color? backgroundColor,
  9. Widget? placeholder,
  10. Widget errorBuilder(
    1. BuildContext context,
    2. 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,
});