pretty_gauge
1.0.1, released 5 years ago by an unverified publisher
A fully customizable gauge widget for Flutter with multiple segments and styling options.
WASM-ready
What it does
Provides a customizable gauge widget for Flutter applications. It supports multiple segments with individual lengths and colors, custom needle colors, minimum and maximum markers, and customizable display widgets for values and text.
AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display a gauge or meter (such as a speedometer or fuel gauge) in your Flutter app.
- You require custom segments, colors, and markers on a gauge.
- You want to display current values with custom text and display widgets inside a gauge.
Skip it when
- You need complex charting types other than gauges, such as line, bar, or pie charts.
- You need non-square dimensions for your gauge.
Strengths
- Fully customizable segments, colors, and needle styling.
- Supports customizable display widgets and markers for min and max values.
- Built from scratch for Flutter with null safety support.
Weaknesses
- Limited only to gauge visualizations.
- Restricted to square dimensions only.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
PrettyGauge(
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)),
)Alternatives
Packages that do the same job and could replace pretty_gauge.
- syncfusion_flutter_gauges
Pick it for a more robust, feature-rich suite of gauge components from a major vendor.
91Compare - gauge_indicator
Pick it as an alternative implementation for displaying gauge indicators in Flutter.
71Compare