getHeight method
Implementation
double getHeight(
int index,
int count,
double width,
double height,
double fontHeight,
double textPadding,
bool drawText,
) => height - (drawText ? fontHeight + textPadding : 0);
double getHeight(
int index,
int count,
double width,
double height,
double fontHeight,
double textPadding,
bool drawText,
) => height - (drawText ? fontHeight + textPadding : 0);