BarTooltipItem constructor

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

content of the tooltip, is a text String with a textStyle, textDirection and optional children.

Implementation

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