TrackStyle constructor
const
TrackStyle({
- double? primaryRulersHeight,
- Color? primaryRulerColor = Colors.black54,
- double? primaryRulersWidth = 1.0,
- double? secondaryRulersHeight = 10,
- double? secondaryRulersWidth = 1.0,
- Color? secondaryRulerColor = Colors.grey,
- double? secondaryRulerPerInterval = 1.0,
- bool showSecondaryRulers = true,
- bool showPrimaryRulers = true,
- bool? showLabel = true,
- double? labelOffset = 0,
- double? rulersOffset = 0,
- bool? inverseRulers = false,
- bool showFirstLabel = true,
- bool showLastLabel = true,
- TextStyle? labelStyle,
Implementation
const TrackStyle({
super.primaryRulersHeight,
super.primaryRulerColor = Colors.black54,
super.primaryRulersWidth = 1.0,
super.secondaryRulersHeight = 10,
super.secondaryRulersWidth = 1.0,
super.secondaryRulerColor = Colors.grey,
super.secondaryRulerPerInterval = 1.0,
super.showSecondaryRulers = true,
super.showPrimaryRulers = true,
super.showLabel = true,
super.labelOffset = 0,
super.rulersOffset = 0,
super.inverseRulers = false,
this.showFirstLabel = true,
this.showLastLabel = true,
this.labelStyle,
});