getHeight method

double getHeight(
  1. String description
)

Implementation

double getHeight(String description) {
  final descriptionLength = description.length;
  return descriptionLength * 0.7;
}