width property
Dimension?
get
width
If non-null, the factor of the incoming width to use.
If non-null, the child is given a tight width constraint that is the max incoming width constraint multiplied by this factor. If null, the child is given the incoming width constraints.
Implementation
Dimension? get width => _width;
set
width
(Dimension? value)
Implementation
set width(Dimension? value) {
if (_width == value) return;
_width = value;
markNeedsLayout();
}