story_view_plus 0.16.6
story_view_plus: ^0.16.6 copied to clipboard
Display stories just like Whatsapp & Instagram. Can be used inline/inside ListView or Column just like Google News app. Comes with gestures to pause, forward & go to previous page.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add story_view_plusThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
story_view_plus: ^0.16.6Alternatively, 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_plus/controller/story_controller.dart';
import 'package:story_view_plus/story_view.dart';
import 'package:story_view_plus/utils.dart';
import 'package:story_view_plus/widgets/story_image.dart';
import 'package:story_view_plus/widgets/story_video.dart';
import 'package:story_view_plus/widgets/story_view.dart';