Skip to content

kodingworks/pretty_list_animation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter
cover
A flutter package that will simplify the creation of animated lists for you, replete with refresh and infiniteLoading, of course.


Example

    PrettyListAnimation(
      onRefresh: () async {
        // TODO: Function for refresh data
      },
      padding: const EdgeInsets.all(16),
      items: numbers,
      itemBuilder: (context, number, index, animation) {
        return SizeTransition(
          sizeFactor: animation,
          child: SizedBox(
            height: 80.0,
            child: Card(
              color: Color.fromRGBO(
                Random().nextInt(256),
                Random().nextInt(256),
                Random().nextInt(256),
                1,
              ),
              child: Center(
                child: Text('Item $number'),
              ),
            ),
          ),
        );
      },
      isInfinite: true,
      isTextIndicator: false,
      indicatorType: IndicatorType.pacman,
      size: 30,
    );

Output

output

Indicator Type

indicator

Type Type Type Type
1. ballPulse 2. ballGridPulse 3. ballClipRotate 4. squareSpin
5. ballClipRotatePulse 6. ballClipRotateMultiple 7. ballPulseRise 8. ballRotate
9. cubeTransition 10. ballZigZag 11. ballZigZagDeflect 12. ballTrianglePath
13. ballTrianglePathColored 14.ballTrianglePathColoredFilled 15. ballScale 16. lineScale
17. lineScaleParty 18. ballScaleMultiple 19. ballPulseSync 20. ballBeat
21. lineScalePulseOut 22. lineScalePulseOutRapid 23. ballScaleRipple 24. ballScaleRippleMultiple
25. ballSpinFadeLoader 26. lineSpinFadeLoader 27. triangleSkewSpin 28. pacman
29. ballGridBeat 30. semiCircleSpin 31. ballRotateChase 32. orbit
33. audioEqualizer 34. circleStrokeSpin

flutter

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages