squiggly_slider 1.0.5 squiggly_slider: ^1.0.5 copied to clipboard
Flutter Package to add the Squiggly Seekbar (introduced in Android 13 for the Media Player) as a Widget
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add squiggly_slider
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
squiggly_slider: ^1.0.5
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:squiggly_slider/line_thumb_shape.dart';
import 'package:squiggly_slider/slider.dart';
import 'package:squiggly_slider/squiggly_slider_track_shape.dart';