GaugeAxis class
- Annotations
Constructors
-
GaugeAxis({double min = 0.0, double max = 1.0, GaugeAxisTransformer transformer = const GaugeAxisTransformer.noTransform(), List<
GaugeSegment> segments = const [], double degrees = 180, GaugePointer? pointer = defaultPointer, GaugeProgressBar? progressBar = defaultProgressBar, GaugeAxisStyle style = const GaugeAxisStyle()}) -
const
Properties
- degrees → double
-
Determines the degree of arc of the gauge axis.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- max → double
-
The maximum value the gauge can display.
final
- min → double
-
The minimum value the gauge can display.
final
- pointer → GaugePointer?
-
If specified, the defined indicator will be used to display
the current value of the gauge.
final
- progressBar → GaugeProgressBar?
-
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
segments
→ List<
GaugeSegment> -
Segments to be drawn on the gauge axis.
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - style → GaugeAxisStyle
-
Specifies the style of the indicator axis.
final
- transformer → GaugeAxisTransformer
-
Transformer is responsible for modifying segments.
final
Methods
-
copyWith(
{GaugeAxisStyle? style, List< GaugeSegment> ? segments, GaugePointer? pointer, GaugeProgressBar? progressBar, GaugeAxisTransformer? transformer, double? degrees, double? min, double? max}) → GaugeAxis -
flatten(
) → GaugeAxis -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transform(
{required GaugeRange range, required double progress, required double value, required bool isInitial}) → GaugeAxis
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultPointer → const GaugePointer
- defaultProgressBar → const GaugeProgressBar