customgauge_new 1.0.2 copy "customgauge_new: ^1.0.2" to clipboard
customgauge_new: ^1.0.2 copied to clipboard

Fully customizable Gauge widget for Flutter with options for multiple segments, colors and customizable styling for displaying current value and text

customgauge_new #

Fully customizable Gauge widget for Flutter

Installing: #

In your pubspec.yaml, add the following dependency

dependencies:
  customgauge_new: 1.0.2

Example Usage: #

import 'package:customgauge_new/customgauge_new.dart';

CustomGauge(
    gaugeSize: 200,
    segments: [
        GaugeSegment('Low', 20, Colors.red),
        GaugeSegment('Medium', 40, Colors.orange),
        GaugeSegment('High', 40, Colors.green),
    ],
    currentValue: 46,
    displayWidget: Text('Fuel in tank', style: TextStyle(fontSize: 12)),
),

Features: #

  • Fully featured Gauge widget that is built from scratch
  • Can have any number of segments in the Gauge with different segment length and colors
  • Gauge can have any dimension (square dimension only) with any minimum and maximum value
  • Needle color can be customized
  • Display and Value widget can be customized, so that you can display what you want on the Gauge
  • Can turn on/off markers that display Min and Max value on the Gauge. You can even style these markers!

License: #

This project is licensed under the BSD 2-Clause license - see the LICENSE file for details

This was developed by jagan999 but was discontinued and I needed it so here is the dart 3 version of it #

0
likes
160
pub points
24%
popularity

Publisher

verified publisherabhishekthakur.dev

Fully customizable Gauge widget for Flutter with options for multiple segments, colors and customizable styling for displaying current value and text

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on customgauge_new