FlLineLabel constructor

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

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.

Implementation

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