worm_indicator 0.1.1 copy "worm_indicator: ^0.1.1" to clipboard
worm_indicator: ^0.1.1 copied to clipboard

outdated

A Flutter PageView indicator insprired by worm animation. It can be easily integrated with any Flutter PageView. Pull requests are welcome

Worm Indicator #

A Flutter PageView indicator insprired by worm animation. It can be easily integrated with any Flutter PageView. Pull requests are welcome

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.

Usage #

WormIndicator(
  length: 3,
  controller: _controller,
  shape: Shape(
    16, // Width
    16, // Height
    8, // Spacing
    DotShape.Circle
  ),
),

Properties:

Name Usage Type
length Number of dots int
controller PageView controller PageController
shape Shape of dots Shape
color Color of normal dots Color
indicatorColor Color of current active dot Color

Shape Constructor:

Name Usage Type
width Width of dot double
height Height of dot double
spacing Spacing between dots double
shape Shape of dots. One of Circle, Rectangle and Square DotShape

Support #

Email me at phuchuynh.strong@gmail.com for any support needed

3
likes
0
pub points
43%
popularity

Publisher

unverified uploader

A Flutter PageView indicator insprired by worm animation. It can be easily integrated with any Flutter PageView. Pull requests are welcome

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on worm_indicator