gradient_progress_indicator

Last updated:

0 purchases

gradient_progress_indicator Image
gradient_progress_indicator Images
Add to Cart

Description:

gradient progress indicator

Gradient Progress Indicator #
Introduction #
This package shows a circular progress indicator with gradient colors, and it is possible insert texts inside that.
Basic Usage #
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: Scaffold(
backgroundColor: Colors.blue,
body: GradientProgressIndicator(
radius: 120,
duration: 3,
strokeWidth: 12,
gradientStops: const [
0.2,
0.8,
],
gradientColors: const [
Colors.white,
Colors.grey,
],
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
'Some text',
style: TextStyle(color: Colors.black, fontSize: 18),
),
Text(
'Another text',
style: TextStyle(color: Colors.black, fontSize: 18),
),
],
),
),
),
);
}
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.