FlLineLabel constructor

const FlLineLabel({
  1. required bool show,
  2. required EdgeInsetsGeometry padding,
  3. required TextStyle? style,
  4. required Alignment alignment,
  5. required LabelDirection direction,
})

Draws a title on the line, align it with alignment over the line, applies padding for spaces, and applies style for changing color, size, ... of the text. show determines showing label or not. direction determines if the direction of the text should be horizontal or vertical.

Implementation

const FlLineLabel({
  required this.show,
  required this.padding,
  required this.style,
  required this.alignment,
  required this.direction,
});