gradient_progress_indicator 1.0.0+5
gradient_progress_indicator: ^1.0.0+5 copied to clipboard

This package shows a circular progress indicator with gradient colors, and it is possible insert texts inside that.

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

Gradient progress indicator

3
likes
120
pub points
53%
popularity

This package shows a circular progress indicator with gradient colors, and it is possible insert texts inside that.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on gradient_progress_indicator