flex property
double?
get
flex
Implementation
double? get flex => _flex;
set
flex
(double? value)
Sets the area flex value and notify listeners.
Implementation
void set flex(double? value) {
if (_size != null) {
throw ArgumentError('Cannot provide both a size and a flex.');
}
_setFlexWithoutNotify(value: value, useMin: true, useMax: true);
notifyListeners();
}