RadialGaugeSegment class

A segment of a radial gauge axis.

Implementers

Constructors

RadialGaugeSegment({required double minValue, required double maxValue, required double minAngle, required double maxAngle, List<RadialTicks>? ticks, double? width, double? widthAbsolute, double? radius, double? radiusAbsolute, Gradient? gradient, Color? color, Border? border, BorderRadiusGeometry? borderRadius, BlendMode? backgroundBlendMode})
Creates a radial gauge segment.
const

Properties

backgroundBlendMode BlendMode?
The blend mode applied to the color or gradient background of the segment.
final
border Border?
A border to draw above the the color or gradient.
final
borderRadius BorderRadiusGeometry?
If non-null, the corners of the segment are rounded by this BorderRadius.
final
color Color?
The color to fill in the background of the segment.
final
gradient Gradient?
A color gradient to use when drawing the background of the segment.
final
hashCode int
The hash code for this object.
no setterinherited
maxAngle double
The angle used to represent maxValue.
final
maxValue double
The maximum value.
final
minAngle double
The angle used to represents minValue.
final
minValue double
The minimum value.
final
radius double?
The radius of this segments in fractions of the gauge radius.
final
radiusAbsolute double?
The radius of this segment in pixels.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ticks List<RadialTicks>?
The configurations for the ticks of this segment.
final
width double?
The width of the segment in fractions of the gauge radius.
final
widthAbsolute double?
The width of the segment in pixels.
final

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.
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