story_progress_indicator 1.1.2
story_progress_indicator: ^1.1.2 copied to clipboard
A zero-dependency Flutter package providing a Stories-style segmented progress indicator. Highly customizable, responsive, and driven by a single progress value for use with PageView, timed stories, o [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add story_progress_indicatorThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
story_progress_indicator: ^1.1.2Alternatively, 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:story_progress_indicator/main.dart';
import 'package:story_progress_indicator/story_indicator.dart';