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

A customizable radial gauge widget for Flutter, ideal for displaying values in a circular format with interactive features and extensive customization options.

example/main.dart

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_radial_gauge/flutter_radial_gauge.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Radial Gauge Example')),
        body: Center(
          child: RadialGauge(
            initialValue: 50.0,
            onValueChanged: (value) {
              if (kDebugMode) {
                print('Current value: $value');
              }
            },
            innerRadius: 80.0,
            outerRadius: 100.0,
            foregroundColor: Colors.blue,
            backgroundColor: Colors.grey[200]!,
            pointerRadius: 10.0,
            pointerStrokeWidth: 5.0,
            pointerFillColor: Colors.white,
            pointerStrokeColor: Colors.blue,
            pointerRectColor: Colors.red,
          ),
        ),
      ),
    );
  }
}
6
likes
160
points
46
downloads

Publisher

verified publisherhendricksbuilds.xyz

Weekly Downloads

A customizable radial gauge widget for Flutter, ideal for displaying values in a circular format with interactive features and extensive customization options.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_radial_gauge