stepWidth property

double? get 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;
set stepWidth (double? value)

Implementation

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