renderBoxModel property

RenderBoxModel? get renderBoxModel
inherited

Implementation

RenderBoxModel? get renderBoxModel => _renderLayoutBox ?? _renderIntrinsic;
set renderBoxModel (RenderBoxModel? value)
inherited

Implementation

set renderBoxModel(RenderBoxModel? value) {
  if (value == null) {
    _renderIntrinsic = null;
    _renderLayoutBox = null;
  } else if (value is RenderIntrinsic) {
    _renderIntrinsic = value;
  } else if (value is RenderLayoutBox) {
    _renderLayoutBox = value;
  } else {
    if (!kReleaseMode) throw FlutterError('Unknown RenderBoxModel value.');
  }
}