story_viewer 0.0.8 story_viewer: ^0.0.8 copied to clipboard
This package provides common story view experience for any Flutter app.
story_viewer #
This package provides common story view experience for any Flutter app.
Usage #
This is basic usage of story_viewer.
StoryViewer(
padding: EdgeInsets.all(8),
backgroundColor: Colors.white,
ratio: StoryRatio.r16_9,
stories: [
StoryItemModel(url:"an_url"),
StoryItemModel(url:"an_url"),
StoryItemModel(url:"an_url"),
],
userModel: UserModel(
username: "story_viewer",
profilePictureUrl: "profile_url",
),
);
Check out example/lib/detailed_example.dart
for more!
Dependencies #
Package Name | Type | Description |
---|---|---|
extended_image | Core | Caching images, slide out page |
flutter_screenutil | Core | Device-Size spesific visual behaviours |
flutter_spinkit | Visual | Loading animation |