HorizontalBarrierStyle constructor

const HorizontalBarrierStyle({
  1. LabelShape labelShape = LabelShape.rectangle,
  2. double labelHeight = 24,
  3. double labelPadding = 4,
  4. Color color = const Color(0xFF00A79E),
  5. Color titleBackgroundColor = const Color(0xFF0E0E0E),
  6. Color secondaryBackgroundColor = const Color(0xFF607D8B),
  7. bool isDashed = true,
  8. bool hasBlinkingDot = false,
  9. Color? blinkingDotColor,
  10. double arrowSize = 5,
  11. bool hasArrow = true,
  12. bool hasLine = true,
  13. Color labelShapeBackgroundColor = const Color(0xFF000000),
  14. Color lineColor = const Color(0xFF000000),
  15. TextStyle textStyle = const TextStyle(fontSize: 10, height: 1.3, fontWeight: FontWeight.normal, color: Colors.white, fontFeatures: <FontFeature>[FontFeature.tabularFigures()]),
})

Initializes a horizontal barrier style.

Implementation

const HorizontalBarrierStyle({
  this.labelShape = LabelShape.rectangle,
  this.labelHeight = 24,
  this.labelPadding = 4,
  super.color,
  super.titleBackgroundColor,
  this.secondaryBackgroundColor = const Color(0xFF607D8B),
  super.isDashed,
  this.hasBlinkingDot = false,
  Color? blinkingDotColor,
  this.arrowSize = 5,
  this.hasArrow = true,
  this.hasLine = true,
  this.labelShapeBackgroundColor = const Color(0xFF000000),
  this.lineColor = const Color(0xFF000000),
  super.textStyle,
}) : blinkingDotColor = blinkingDotColor ?? color;