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 {},
      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'),
              ),
            ),
          ),
        );
      },
    );

Output

output


flutter