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
Usage
import 'package:cred_progress_bar/cred_progress_bar.dart';
CredProgressBar(
controller: _scrollController,
barWidth: 120,
thumbWidth: 12,
barHeight: 14,
barColor: Colors.amber,
thumbColor: Colors.purple.shade300,
);
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,
);