FlickerNumberInput<T> constructor
FlickerNumberInput<T> ({
- Key? key,
- required T initialValue,
- ValueChanged<
int> ? onChangedInt, - ValueChanged<
double> ? onChangedDouble, - ValueChanged<
String> ? onChangedString, - String? labelText,
- bool? uppercaseLabelAndHint,
- FormFieldValidator<
String> ? validator, - double width = 250,
- Widget? suffix,
- bool readOnly = false,
- Widget? prefix,
- int numberOfDecimals = 0,
Implementation
FlickerNumberInput({
Key? key,
required this.initialValue,
this.onChangedInt,
this.onChangedDouble,
this.onChangedString,
this.labelText,
this.uppercaseLabelAndHint,
this.validator,
this.width = 250,
this.suffix,
this.readOnly = false,
this.prefix,
this.numberOfDecimals = 0,
}) : super(key: key);