effectiveHeight property

double get effectiveHeight

The height the body has: heightOverride, or else height.

Implementation

double get effectiveHeight => heightOverride ?? height;