Thursday, 8 August 2019

A Flutter PageView Indicator has Worm animation



Worm Indicator

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:
NAMEUSAGETYPE
lengthNumber of dotsint
controllerPageView controllerPageController
sizeSize of a dotint
spacingSpacing between dotsint
colorColor of normal dotsColor
indicatorColorColor of current active dotColor

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 phuchuynh.strong@gmail.com for any support needed

GitHub

A Flutter PageView Indicator has Worm animation — Read More
Latest commit to the master branch on 8-6-2019
Download as zip