tooltipHeight property

double get tooltipHeight

Gets size of the tooltip based on following:

Implementation

double get tooltipHeight {
  final titleHeight = MDTextPainter(TextSpan(
    text: '',
    style: titleStyle,
  )).size.height;
  final subtitleHeight = MDTextPainter(TextSpan(
    text: '',
    style: subtitleStyle,
  )).size.height;

  return bottomMargin +
      padding.vertical +
      spacing +
      titleHeight +
      subtitleHeight;
}