video_slider 0.0.1 copy "video_slider: ^0.0.1" to clipboard
video_slider: ^0.0.1 copied to clipboard

A simple slider of video to trim by specific area.

video_slider #

A simple video slider to trim by specific area.

pub ver license

RPReplay_Final1626501540

This library is inspired by video_editor. Almost slider code is copied from the library. What I did is to extract only slider from other dependencies like player, cropper and ffmpeg. You can combine a original player or trimming methods which you want to use with this simple slider.

Requirement #

  • sdk: >=2.12.0 <3.0.0
  • flutter: >=1.20.0

Installation #

  • Add the dependency video_slider to your pubspec.yaml file.

Usage #

Example #

/// Require to wrap VideoSlider by a widget having width and height constraint.
Container(
  width: MediaQuery.of(context).size.width - 40,
  height: 60,
  margin: const EdgeInsets.symmetric(horizontal: 20),
  child: VideoSlider(
    controller: widget.controller,
    height: 60,
    maxDuration: const Duration(seconds: 15),
  ),
)

See example for more info.

14
likes
110
pub points
42%
popularity

Publisher

unverified uploader

A simple slider of video to trim by specific area.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, video_player, video_thumbnail

More

Packages that depend on video_slider