FormBuilderTouchSpin constructor

FormBuilderTouchSpin({Key key, @required String attribute, num initialValue, List<FormFieldValidator> validators: const [], bool readOnly: false, InputDecoration decoration: const InputDecoration(), num step, num min: 1, num max: 9999, ValueChanged onChanged, ValueTransformer valueTransformer, FormFieldSetter onSaved, num iconSize: 24.0, NumberFormat displayFormat, Icon subtractIcon: const Icon(Icons.remove), Icon addIcon: const Icon(Icons.add), EdgeInsets iconPadding: const EdgeInsets.all(4.0), TextStyle textStyle: const TextStyle(fontSize: 24), Color iconActiveColor Color iconDisabledColor })

Implementation

FormBuilderTouchSpin({
  Key key,
  @required this.attribute,
  this.initialValue,
  this.validators = const [],
  this.readOnly = false,
  this.decoration = const InputDecoration(),
  this.step,
  this.min = 1,
  this.max = 9999,
  this.onChanged,
  this.valueTransformer,
  this.onSaved,
  this.iconSize = 24.0,
  this.displayFormat,
  this.subtractIcon = const Icon(Icons.remove),
  this.addIcon = const Icon(Icons.add),
  this.iconPadding = const EdgeInsets.all(4.0),
  this.textStyle = const TextStyle(fontSize: 24),
  this.iconActiveColor,
  this.iconDisabledColor,
}) : super(key: key);