story_indicator

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

story indicator

Story Indicator #
Features #

Make automatically run Indicator like facebook story.
Can combine to the PageView to show banner.


Installing #
Add this to your package's pubspec.yaml file:
dependencies:
story_indicator: ^latest
copied to clipboard
Import #
import 'package:story_indicator/story_indicator.dart';
copied to clipboard
Usage #
Use like a widget everywhere you want, you can see example in /example folder.
Container(
padding: const EdgeInsets.all(24),
child: StoryIndicator(
itemCount: itemOfOnBoarding,
currentIndex: currentIndex,
highlightColor: Colors.red,
indicatorSpacing: 8,
interval: const Duration(seconds: 2)
)
)
copied to clipboard
Customize #
You can custom some value to change indicator UI



Variable
Description




itemCount
Set number of indicators


currentIndex
Set and get current indicator index


interval
Set running interval of indicator


highlightColor
Set highlight color of indicator


defaultColor
Set default color of indicator


indicatorSpacing
Set indicator spacing



Trần Đạt, Thank you!

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.