double_tap_player_view 2.0.3 double_tap_player_view: ^2.0.3 copied to clipboard
a widget to handle fast forward/rewind behavior by double tap and horizontal drag like a video player.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add double_tap_player_view
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
double_tap_player_view: ^2.0.3
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:double_tap_player_view/double_tap_player_view.dart';