contentBoxLogicalWidth property

  1. @override
double? contentBoxLogicalWidth
override

Implementation

@override
double? get contentBoxLogicalWidth {
  // If renderBox has tight width, its logical size equals max size.
  // Compute logical width directly in case as renderBoxModel is not layouted yet,
  // eg. compute percentage length before layout.
  if (_contentBoxLogicalWidth == double.infinity) {
    computeContentBoxLogicalWidth();
  }
  return _contentBoxLogicalWidth;
}
void contentBoxLogicalWidth=(double? value)

Implementation

set contentBoxLogicalWidth(double? value) {
  if (_contentBoxLogicalWidth == value) return;
  _contentBoxLogicalWidth = value;
}