Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.11 KB

README.md

File metadata and controls

38 lines (31 loc) · 1.11 KB

flutter_spinkit_szw

A collection of loading indicators animated with flutter. Heavily inspired by ybq's Android-SpinKit.

Showcase

_ _ _
pulse double_bounce triple_bounce
sound_wave chasing_dots cube_grid
beads_scale beads_fade circle_3d
cube_3d

Getting start

LoadingWidget(
    size: 200,
    bgColor: Colors.purple,
    animStyle: AnimStyle.CUBE_3D
)

There are multiple animation style, which are from an enum:

enum AnimStyle {
  PULSE, DOUBLE_BOUNCE, TRIPLE_BOUNCE, CHASING_DOTS,
  SOUND_WAVE, CUBE_GRID, BEADS_SCALE, BEADS_FADING,
  CIRCLE_3D, CUBE_3D, FOLDING_CUBES
}

Note

There are several flutter spinkit libraries already in the pub.dev However, they are mostly focus on the widget. This library only focus on how to draw the animation by Canvas. That's the main difference.