halfHeight property

double halfHeight
latefinal

Implementation

late final halfHeight = (maxHeight - minHeight) / 2;