flexBasis property

  1. @override
CSSLengthValue? get flexBasis
override

Implementation

@override
CSSLengthValue? get flexBasis => _flexBasis;
set flexBasis (CSSLengthValue? value)

Implementation

set flexBasis(CSSLengthValue? value) {
  // Negative value is invalid.
  if ((value != null && ((value.value != null && value.value! < 0))) || _flexBasis == value) {
    return;
  }
  _flexBasis = value;
  if (renderBoxModel?.parent is RenderFlexLayout) {
    renderBoxModel!.markNeedsLayout();
  }
}