gradient_circular_progress_indicator 0.0.4 copy "gradient_circular_progress_indicator: ^0.0.4" to clipboard
gradient_circular_progress_indicator: ^0.0.4 copied to clipboard

Circular Progress Widget with gradient progress value color and optional background color.

example/example.md

Examples #

Here's an example of how you can use the GradientCircularProgressIndicator widget

import 'package:flutter/material.dart';
import 'package:gradient_circular_progress_indicator/gradient_circular_progress_indicator.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Circular Progress Example',
      home: Scaffold(
        appBar: AppBar(
          title: Text('Circular Progress Example'),
        ),
        body: Center(
          child: GradientCircularProgressIndicator(
            progress: 0.6,
            gradient: RadialGradient(
              colors: [Colors.blue, Colors.purple],
            ),
            backgroundColor: Colors.grey,
            child: Text('60%'),
          ),
        ),
      ),
    );
  }
}
19
likes
160
points
1.31k
downloads

Publisher

verified publisherdilipyadav.xyz

Weekly Downloads

Circular Progress Widget with gradient progress value color and optional background color.

Repository

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on gradient_circular_progress_indicator