MinorTickStyle constructor
const
MinorTickStyle({})
Creates a minor tick style with default or required properties.
The arguments length
, thickness
, must be non-negative.
Implementation
const MinorTickStyle(
{double length = 5,
GaugeSizeUnit lengthUnit = GaugeSizeUnit.logicalPixel,
Color? color,
double thickness = 1.5,
List<double>? dashArray})
: assert(length >= 0, 'Tick length must be a non-negative value.'),
assert(thickness >= 0, 'Tick thickness must be a non-negative value.'),
super(
length: length,
lengthUnit: lengthUnit,
thickness: thickness,
dashArray: dashArray,
color: color,
);