Flutter Package to add the Squiggly Seekbar (introduced in Android 13 for the Media Player) as a Widget
Flutter rebuild of the Squiggly Seekbar introduced in Android 13 for the Media Player.
flutter pub add squiggly_slider
or manually add the dependency to your pubspec.yaml
file.
dependencies:
squiggly_slider: ^1.0.0
import the package
import 'package:squiggly_slider/squiggly_slider.dart';
and then use it as a drop in replacement for the normal slider
SquigglySlider(
//... normal Slider Widget properties ...
squiggleAmplitude: 5.0,
squiggleWavelength: 5.0,
squiggleSpeed: 0.3,
),
contributions (PRs) are welcome.