TrackStyle constructor

const TrackStyle({
  1. double? primaryRulersHeight,
  2. Color? primaryRulerColor = Colors.black54,
  3. double? primaryRulersWidth = 1.0,
  4. double? secondaryRulersHeight = 10,
  5. double? secondaryRulersWidth = 1.0,
  6. Color? secondaryRulerColor = Colors.grey,
  7. double? secondaryRulerPerInterval = 1.0,
  8. bool showSecondaryRulers = true,
  9. bool showPrimaryRulers = true,
  10. bool? showLabel = true,
  11. double? labelOffset = 0,
  12. double? rulersOffset = 0,
  13. bool? inverseRulers = false,
  14. bool showFirstLabel = true,
  15. bool showLastLabel = true,
  16. 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,
});