stepWidth property

double? stepWidth

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

This value must be null or > 0.0.

Implementation

double? get stepWidth => _stepWidth;
void stepWidth=(double? value)

Implementation

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