MajorTickStyle class

Create the style of axis major tick.

Widget build(BuildContext context) {
   return Container(
       child: SfRadialGauge(
         axes:<RadialAxis>[RadialAxis(
           majorTickStyle: MajorTickStyle(color: Colors.red,
           thickness: 3,
           length: 10),
           )]
       ));
}
Implementers
Annotations

Constructors

MajorTickStyle({double length = 7, double thickness = 1.5, GaugeSizeUnit lengthUnit = GaugeSizeUnit.logicalPixel, Color? color, List<double>? dashArray})
Creates a major tick style with default or required properties.
const

Properties

color Color?
Specifies the color of tick.
final
dashArray List<double>?
Specifies the dash array to draw the dashed line.
final
hashCode int
The hash code for this object.
read-onlyoverride
length double
Specifies the length of the tick.
final
lengthUnit GaugeSizeUnit
Calculates the tick length size either in logical pixel or radius factor.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
thickness double
Specifies the thickness of tick in logical pixels.
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.
override