MajorTickStyle constructor
const
MajorTickStyle({})
Creates a major tick style with default or required properties.
The arguments length
, thickness
, must be non-negative.
Implementation
const MajorTickStyle(
{this.length = 7,
this.thickness = 1.5,
this.lengthUnit = GaugeSizeUnit.logicalPixel,
this.color,
this.dashArray})
: assert(length >= 0, 'Tick length must be a non-negative value.'),
assert(thickness >= 0, 'Tick thickness must be a non-negative value.');