TrimSlider constructor

const TrimSlider({
  1. Key? key,
  2. required VideoEditorController controller,
  3. double height = 60,
  4. int quality = 10,
  5. double horizontalMargin = 0.0,
  6. Widget? child,
  7. bool hasHaptic = true,
  8. double maxViewportRatio = 2.5,
  9. ScrollController? scrollController,
})

Slider that trim video length.

Implementation

const TrimSlider({
  super.key,
  required this.controller,
  this.height = 60,
  this.quality = 10,
  this.horizontalMargin = 0.0,
  this.child,
  this.hasHaptic = true,
  this.maxViewportRatio = 2.5,
  this.scrollController,
});