story_view 0.9.0 story_view: ^0.9.0 copied to clipboard
This a Flutter widget to display stories just like Whatsapp and Instagram. Can also be used inline/inside ListView or Column just like Google News app. Comes with gestures to pause, forward and go to [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add story_view
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
story_view: ^0.9.0
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:story_view/story_view.dart';