0 purchases
cred progress bar
Cred like progress bar written in dart for flutter #
Showcase #
Get wonderful cred like progress bar for your horizontal list view with minimal efforts
Getting Started #
In your flutter project add the dependency:
dependencies:
cred_progress_bar: ^0.0.1
copied to clipboard
Usage #
import 'package:cred_progress_bar/cred_progress_bar.dart';
copied to clipboard
CredProgressBar(
controller: _scrollController,
barWidth: 120,
thumbWidth: 12,
barHeight: 14,
barColor: Colors.amber,
thumbColor: Colors.purple.shade300,
);
copied to clipboard
Note: Don't forgot to add BouncingScrollPhysics to your listView. This is required to get bouncy fluid animation
ListView Example #
ListView.builder(
physics: const BouncingScrollPhysics(), // add this to get fluid animation
scrollDirection: Axis.horizontal,
controller: _scrollController,
);
copied to clipboard
Thanks for using my package 🙏 #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.