NumericTextField constructor
NumericTextField({
- Key? key,
- String? initialValue,
- TextEditingController? controller,
- TextAlign? textAlign,
- TextStyle? style,
- bool readOnly = false,
- InputDecoration decoration = const InputDecoration(),
- Function? onTap,
- ValueChanged<
String> ? onChanged, - VoidCallback? onEditingComplete,
- ValueChanged<
String> ? onSubmitted, - bool allowNegativeResult = true,
Implementation
NumericTextField({
Key? key,
this.initialValue,
this.controller,
this.textAlign,
this.style,
this.readOnly = false,
this.decoration = const InputDecoration(),
this.onTap,
this.onChanged,
this.onEditingComplete,
this.onSubmitted,
this.allowNegativeResult = true,
}) : super(key: key);