A Flutter PageView indicator insprired by worm animation. It can be easily integrated with any Flutter PageView. Pull requests are welcome
Make sure you add the lib dependency in your flutter project.
dependencies: worm_indicator: 0.2.1
Then you should run
flutter packages get to update your packages in your IDE.
Checkout the project inside
DotShape need size.
DotShape need width and height.
WormIndicator( length: 3, controller: _controller, shape: Shape( size: 16, spacing: 8, shape: DotShape.Circle // Similar for Square ), ),
WormIndicator( length: 3, controller: _controller, shape: Shape( width: 16, height: 24, spacing: 8, shape: DotShape.Rectangle ), ),
|Number of dots|
|Shape of dots|
|Color of normal dots|
|Color of current active dot|
|Width of dot (required if shape is Rectange)|
|Height of dot (required if shape is Rectange)|
|Size of dot (required if shape is Circle or Square)|
|Spacing between dots|
|Shape of dots. One of Circle, Rectangle and Square|
Email me at
email@example.com for any support needed
A new Flutter project.
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Add this to your package's pubspec.yaml file:
dependencies: worm_indicator: ^0.2.1
You can install packages from the command line:
$ flutter pub get
Alternatively, your editor might support
flutter pub get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Aug 16, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.
flutter format to format