isSizeTight property
bool
get
isSizeTight
Implementation
bool get isSizeTight {
bool isDefinedSize = (renderStyle.width.value != null &&
renderStyle.height.value != null &&
renderStyle.width.isPrecise && renderStyle.height.isPrecise);
bool isFixedMinAndMaxSize = (renderStyle.minWidth.value == renderStyle.maxWidth.value &&
renderStyle.minWidth.value != null && renderStyle.minWidth.isPrecise) && (
renderStyle.minHeight.value == renderStyle.maxHeight.value && renderStyle.minHeight.value != null &&
renderStyle.minHeight.isPrecise
);
return isDefinedSize || isFixedMinAndMaxSize;
}