FormBuilderInput.stepper constructor

FormBuilderInput.stepper({@required String label, @required String attribute, dynamic value, String hint, num min, num max, num step, bool require: false, FormFieldValidator validator })

Implementation

FormBuilderInput.stepper({
  @required this.label,
  @required this.attribute,
  this.value,
  this.hint,
  this.min,
  this.max,
  this.step,
  this.require = false,
  this.validator,
}) : assert(min == null || max == null || min <= max,
          "Min cannot be higher than Max") {
  type = FormBuilderInput.TYPE_STEPPER;
}