RadialGaugeAxis class
An axis for a radial gauge.
- Inheritance
-
- Object
- RadialGaugeSegment
- RadialGaugeAxis
Constructors
-
RadialGaugeAxis({required double minValue, required double maxValue, double minAngle = -150.0, double maxAngle = 150.0, double radius = 0.8, double? radiusAbsolute, double width = 0.2, double? widthAbsolute, List<
RadialTicks> ? ticks, List<RadialGaugePointer> ? pointers, Color? color, Gradient? gradient, BlendMode? backgroundBlendMode, Border? border, BorderRadiusGeometry? borderRadius, List<RadialGaugeSegment> ? segments, Offset? offsetAbsolute, Offset? offset, double rotation = 0}) - Creates a radial gauge axis.
Properties
- backgroundBlendMode → BlendMode?
-
The blend mode applied to the color or gradient background of the segment.
finalinherited
- border → Border?
-
A border to draw above the the color or gradient.
finalinherited
- borderRadius → BorderRadiusGeometry?
-
If non-null, the corners of the segment are rounded by this BorderRadius.
finalinherited
- color → Color?
-
The color to fill in the background of the segment.
finalinherited
- gradient → Gradient?
-
A color gradient to use when drawing the background of the segment.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxAngle → double
-
The angle used to represent maxValue.
finalinherited
- maxValue → double
-
The maximum value.
finalinherited
- minAngle → double
-
The angle used to represents minValue.
finalinherited
- minValue → double
-
The minimum value.
finalinherited
- offset → Offset?
-
The offset of this axis as a factor of the gauge size.
final
- offsetAbsolute → Offset?
-
The offset of this axis in absolute pixels.
final
-
pointers
→ List<
RadialGaugePointer> ? -
The pointers for this axis.
final
- radius → double?
-
The radius of this segments in fractions of the gauge radius.
finalinherited
- radiusAbsolute → double?
-
The radius of this segment in pixels.
finalinherited
- rotation → double
-
The rotation of this axis in degrees.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
segments
→ List<
RadialGaugeSegment> ? -
The segments for this axis.
final
-
ticks
→ List<
RadialTicks> ? -
The configurations for the ticks of this segment.
finalinherited
- width → double?
-
The width of the segment in fractions of the gauge radius.
finalinherited
- widthAbsolute → double?
-
The width of the segment in pixels.
finalinherited
Methods
-
copyWith(
{double? minValue, double? maxValue, double? minAngle, double? maxAngle, double? width, Gradient? gradient, Color? color, Border? border, BorderRadiusGeometry? borderRadius, BlendMode? backgroundBlendMode}) → RadialGaugeSegment -
Creates a copy of the instance and replaces the given variables of that copy.
inherited
-
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