FormBuilderInput.stepper constructor
FormBuilderInput.stepper({@required InputDecoration decoration, @required String attribute, bool readonly: false, dynamic value, dynamic min, dynamic max, num step, bool require: false, FormFieldValidator validator })
Implementation
FormBuilderInput.stepper({
@required this.decoration,
@required this.attribute,
this.readonly = false,
this.value,
this.min,
this.max,
this.step,
this.require = false,
this.validator,
}) : assert(min == null || min is num),
assert(max == null || max is num),
assert(min == null || max == null || min <= max,
"Min cannot be higher than Max") {
type = FormBuilderInput.TYPE_STEPPER;
}