setConstraint method

T setConstraint({
  1. int? min,
  2. int? max,
  3. bool? disabled,
})

Implementation

T setConstraint({int? min, int? max, bool? disabled}) {
  _min = min ?? _min;
  _max = max ?? _max;
  _disabled = disabled ?? _disabled;

  return this as T;
}