pageview
a pageview indicator.
features
- use with pageview to display scroll progress
getting started
make sure you add the lib dependency in your flutter project.
dependencies:
worm_indicator: 0.1.1
then you should run flutter packages get
to update your packages in your ide.
example project
checkout the project inside example
folder.
screenshot:
usage
wormindicator(
length: page_view_size,
controller: page_view_controller,
size: dot_size_in_pt,
spacing: dot_spacing_in_pt,
),
properties:
name | usage | type |
---|---|---|
length |
number of dots | int |
controller |
pageview controller | pagecontroller |
size |
size of a dot | int |
spacing |
spacing between dots | int |
color |
color of normal dots | color |
indicatorcolor |
color of current active dot | color |
road map
this is the plan toward 1.0 release
- [ ] add more shape configuration of the dots
- [ ] add more transition animation with worm-style
- [ ] add more detail documentation
- [ ] write more specific example projects
support
email me at [email protected]
for any support needed
Comments are closed.