LineTooltipItem constructor

const LineTooltipItem(
  1. String text,
  2. TextStyle textStyle, {
  3. TextAlign textAlign = TextAlign.center,
  4. TextDirection textDirection = TextDirection.ltr,
  5. List<TextSpan>? children,
})

Shows a text with textStyle, textDirection, and optional children as a row in the tooltip popup.

Implementation

const LineTooltipItem(
  this.text,
  this.textStyle, {
  this.textAlign = TextAlign.center,
  this.textDirection = TextDirection.ltr,
  this.children,
});