isSelfSizing static method
- required BoxConstraints constraints,
- double? parentHeight,
The view measures its own content only when nothing else determines its height: no explicit AirshipEmbeddedView.parentHeight, and a parent that leaves the height unbounded.
Implementation
@visibleForTesting
static bool isSelfSizing({
required BoxConstraints constraints,
double? parentHeight,
}) =>
parentHeight == null && !constraints.hasBoundedHeight;