width property

double? get width

Implementation

double? get width => _width;
set width (double? value)

Implementation

set width(double? value) {
  if (value == null) {
    return;
  }
  if (value != _width) {
    _width = value;

    if (sizedBox != null) {
      sizedBox!.additionalConstraints = BoxConstraints.tight(size);
    }
  }
}