RadialTicks class

Constructors

RadialTicks({double? interval, int? ticksInBetween, List<double>? values, TickValuesBuilder? valuesBuilder, TickAnglesBuilder? anglesBuilder, List<RadialTicks>? children, RadialTickAxisAlignment alignment = RadialTickAxisAlignment.inside, double thickness = 2, double length = 1.0, double? lengthAbsolute, Color color = const Color(0xFF000000)})
Creates a new radial tick configuration.

Properties

alignment RadialTickAxisAlignment
The alignment of the ticks with respect to the segment/axis they are defined on.
final
anglesBuilder TickAnglesBuilder?
A function that generates the angle corresponding to given values.
final
children List<RadialTicks>?
List of subordinate ticks.
final
color Color
The color of the ticks.
final
hashCode int
The hash code for this object.
no setterinherited
interval double?
The interval between two values with a tick.
final
length double
The length of the ticks in mutliples of the gauge
final
lengthAbsolute double?
The absolute length of the ticks in pixels.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thickness double
The width of each tick.
final
ticksInBetween int?
The number of ticks in between two ticks of the parent ticks. If there are no parent ticks, this is the number of ticks between the minValue and the maxValue of the RadialGaugeSegment the ticks are defined for.
final
values List<double>?
The values where major ticks are located.
final
valuesBuilder TickValuesBuilder?
A function that generates the tick values.
final

Methods

getAngles(RadialGaugeSegment segment, {RadialTicks? parentTicks}) List<double>?
Calculates and returns a list of the angles where ticks should be.
getValues(RadialGaugeSegment segment, {RadialTicks? parentTicks}) List<double>?
Calculates and returns a list of the values where ticks should be.
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