NumericTextField constructor

NumericTextField({
  1. Key? key,
  2. String? initialValue,
  3. TextEditingController? controller,
  4. TextAlign? textAlign,
  5. TextStyle? style,
  6. bool readOnly = false,
  7. InputDecoration decoration = const InputDecoration(),
  8. Function? onTap,
  9. ValueChanged<String>? onChanged,
  10. VoidCallback? onEditingComplete,
  11. ValueChanged<String>? onSubmitted,
  12. 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);