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