thickness property Null safety

double thickness

Implementation

double get thickness => _thickness;
void thickness=(double value)

Change the _thickness field value. thicknessChanged will be invoked only if the field's value has changed.

Implementation

set thickness(double value) {
  if (_thickness == value) {
    return;
  }
  double from = _thickness;
  _thickness = value;
  if (hasValidated) {
    thicknessChanged(from, value);
  }
}