TrimSlider constructor

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

Slider that trim video length.

Implementation

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