FormBuilderStepper constructor
FormBuilderStepper({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, @Deprecated('Use `iconSize` instead') num size, ValueChanged onChanged, ValueTransformer valueTransformer, FormFieldSetter onSaved, double 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
FormBuilderStepper({
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,
@Deprecated('Use `iconSize` instead') this.size,
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,
}) : assert(size != null || iconSize != null),
super(key: key);