flexWidth property
int?
get
flexWidth
Implementation
int? get flexWidth {
// defined width takes precedence over flex
if (hasBoundedWidth) return null;
if (!visible) return null;
return flex ?? (expandHorizontally || canExpandInfinitelyWide ? 1 : null);
}