widthFactor property
double
get
widthFactor
The fraction of the available width that the child should occupy.
Implementation
double get widthFactor => _widthFactor;
set
widthFactor
(double value)
Sets the width factor.
Implementation
set widthFactor(double value) {
if (_widthFactor != value) {
_widthFactor = value;
markNeedsLayout();
}
}