NiceVideoPlaceholder constructor

const NiceVideoPlaceholder({
  1. Key? key,
  2. String? thumbnailUrl,
  3. String? duration,
  4. VoidCallback? onPlay,
  5. double aspectRatio = 16 / 9,
  6. BorderRadius? borderRadius,
  7. bool showControls = true,
})

Implementation

const NiceVideoPlaceholder({
  super.key,
  this.thumbnailUrl,
  this.duration,
  this.onPlay,
  this.aspectRatio = 16 / 9,
  this.borderRadius,
  this.showControls = true,
});