geekyants_flutter_gauges library
The Geekyants FlutterGauges package in Flutter is a customizable widget that displays a linear gauge. It can be customized with various features to visually indicate the progress of a task, the completion percentage of a project, or any other numerical value that needs to be displayed on a linear scale.
Start using the package by importing the library in your Dart code:
import 'package:geekyants_flutter_gauges/geekyants_flutter_gauges.dart';/// ```
### Useful Links
* [ShowCase App](https://gauges-showcase.vercel.app/#/) - A showcase app for the package with UseCases and PlayGrounds.
* [More from GeekyAnts](https://github.com/GeekyAnts)
Classes
- BasePointer
- A BasePointer is a widget that is used to indicate the value of the LinearGauge.
- CustomCurve
- A CustomCurve is a class that is used to draw custom Section or Zones on the gauge. These custom Section or zones can have a bezier curve or be in a straight line.
- CustomRulerLabel
- A CustomRulerLabel class allows to add custom text of any kind and assign value to it on the gauge scale.
- LinearGauge
- Creates a LinearGauge Widget to display the values in a linear scale. The widget can be customized using the properties available in LinearGauge.
- LinearGaugeBoxDecoration
-
Allows to customize the style of LinearGauge container.
Customize features like
backgroundColor
,thickness
,linearGradient
,borderRadius
andedgeStyle
- LinearGaugeState
- Linear gauge state class.
- NeedlePointer
- Creates a needle pointer for RadialGauge.
- Pointer
- A Pointer implements BasePointer that is used to add the shape pointer to the LinearGauge.
- RadialGauge
- Creates a Radial Gauge Widget to display the values in a Radial Scale. The widget can be customized using the properties available in RadialGauge.
- RadialShapePointer
- RadialShapePointer is used to render the shape pointer in the RadialGauge.
- RadialTrack
- The RadialTrack is used to set the track of the Radial Gauge.
- RadialValueBar
- RadialValueBar is used to render the value bar in the RadialGauge.
- RadialWidgetPointer
- A RadialWidgetPointer is used to render the widget pointer in the RadialGauge.
- RangeLinearGauge
- A RangeLinearGauge represents range values to be displayed on a linear gauge.
- RenderLinearGaugeElement
- Linear gauge render widget element class.
- RenderLinearGaugeShapePointer
- RenderLinearGaugeWidgetPointer
- RRadialGauge
- RulerStyle
- RulerStyle allows to customize the style of LinearGauge Rulers.
- TrackStyle
- ValueBar
- The ValueBar can be used to represent the current value of the LinearGauge.
- WidgetPointer
- A WidgetPointer implements Pointer that is used to add custom widget as a pointer in LinearGauge.
Enums
- CurvePosition
- Position of the Curve on the Gauge.
- CurveStyle
- Style of the Curve on the Gauge.
- GaugeOrientation
- Orientation of the Gauge.
- LinearEdgeStyle
- Style of the Linear Edge.
- NeedleStyle
- Style of the Needle on the Gauge.
- PaintStyle
- Paint Style of the Curve on the Gauge.
- PointerAlignment
- Alignment of the Pointer on the Gauge.
- PointerPosition
- Position of the Pointer on the Gauge.
- PointerShape
- Shape of the Pointer on the Gauge.
- QuarterTurns
- QuarterTurns of the Pointer Label.
- RulerPosition
- Position of the Rulers on the Gauge.
- ValueBarPosition
- Position of the ValueBar on the Gauge.