gradient_progress_bar 1.0.4 gradient_progress_bar: ^1.0.4 copied to clipboard
This package allows you to Customise your progress indicator as Gradient progress indicator
gradient_progress_bar #
A Flutter package for both android and iOS which provides Gradient progress indicator
Usage #
To use this package :
- add the dependency to your pubspec.yaml file.
dependencies:
flutter:
sdk: flutter
gradient_progress_bar:
Screenshots #
How to use #
class Test extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
child:Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: const <Widget>[
GradientProgressIndicator([
Color(0xffF68270),
Color(0xffF1C358),
Color(0xffEFDE62),
Color(0xffE5F3BE),
Color(0xffCDE8F1),
Color(0xffDDC5EE),
Color(0xffF2E0F9),
], 0.8)
],
),
),
);
}
}