RadialTrack class

The RadialTrack is used to set the track of the Radial Gauge.

The start property is used to set the start value of the Radial Gauge. The end property is used to set the end value of the Radial Gauge. The startAngle property is used to set the start angle of the Radial Gauge. The endAngle property is used to set the end angle of the Radial Gauge.

RadialGauge(
         track: RadialTrack(
           start: 0,
           end: 100,
          startAngle: 0,
          endAngle: 360,
        ),
    ),

Constructors

RadialTrack({Key? key, required double start, required double end, double startAngle = -30, int steps = 10, double endAngle = 210, Color color = Colors.grey, bool hideLabels = false, bool hideTrack = false, double thickness = 10, TrackStyle trackStyle = const TrackStyle(labelStyle: TextStyle(fontSize: 12, color: Colors.black), primaryRulersHeight: 25, primaryRulerColor: Colors.black54, secondaryRulerColor: Colors.grey, inverseRulers: false, secondaryRulersHeight: 15, primaryRulersWidth: 1.0, secondaryRulerPerInterval: 4.0), LinearGradient? gradient, String trackLabelFormater(double)?})
The RadialTrack is used to set the track of the Radial Gauge.
const

Properties

color Color
The color property is used to set the color of the Radial Gauge.
final
end double
The end property is used to set the end value of the Radial Gauge.
final
endAngle double
The endAngle property is used to set the end angle of the Radial Gauge. The default value is 400.
final
gradient LinearGradient?
The gradient property is used to set the gradient of the Radial Gauge.
final
hashCode int
The hash code for this object.
no setterinherited
hideLabels bool
The hideLabels property is used to hide the start label of the Radial Gauge.
final
hideTrack bool
The hideTrack property is used to hide the track of the Radial Gauge.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start double
The start property is used to set the start value of the Radial Gauge.
final
startAngle double
The startAngle property is used to set the start angle of the Radial Gauge. The default value is 140.
final
steps int
The steps property is used to set the number of steps in the Radial Gauge. The default value is 10.
final
thickness double
The thickness property is used to set the thickness of the Radial Gauge.
final
trackLabelFormater → (String Function(double)?)
The trackLabelFormater property is used to customize the track labels of the Radial Gauge.
final
trackStyle TrackStyle
The trackStyle property is used to customize the track of the Radial Gauge.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited