thickness property Null safety

double thickness

The extend that the owning RenderObject occupies in z-direction starting at elevation.

It's extremely rare to set this value directly. Instead, it is calculated implicitly when other SemanticsConfigurations are merged into this one via absorb.


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


set thickness(double value) {
  assert(value != null && value >= 0.0);
  if (value == _thickness) {
  _thickness = value;
  _hasBeenAnnotated = true;