getHeight method

  1. @override
double getHeight(
  1. int index,
  2. int count,
  3. double width,
  4. double height,
  5. double fontHeight,
  6. double textPadding,
  7. bool drawText,
)
override

Implementation

@override
double getHeight(
  int index,
  int count,
  double width,
  double height,
  double fontHeight,
  double textPadding,
  bool drawText,
) =>
    super.getHeight(
      index,
      count,
      width,
      height,
      fontHeight,
      textPadding,
      drawText,
    ) -
    (drawBorder ? _getBorderWidth(width) : 0);