flexShrink property

  1. @override
double get flexShrink
override

Implementation

@override
double get flexShrink => _flexShrink ?? 1.0;
set flexShrink (double? value)

Implementation

set flexShrink(double? value) {
  if (_flexShrink == value) return;
  _flexShrink = value;
  if (renderBoxModel?.parent is RenderFlexLayout) {
    renderBoxModel!.markNeedsLayout();
  }
}