stepHeight property Null safety

double? stepHeight

If non-null, force the child's height to be a multiple of this value.

This value must be null or > 0.0.

Implementation

double? get stepHeight => _stepHeight;
void stepHeight=(double? value)

Implementation

set stepHeight(double? value) {
  assert(value == null || value > 0.0);
  if (value == _stepHeight)
    return;
  _stepHeight = value;
  markNeedsLayout();
}