InputTextField constructor

const InputTextField({
  1. Key? key,
  2. required String hintText,
  3. required String labelText,
  4. required String? validator(
    1. String?
    )?,
  5. required dynamic onChange(
    1. String
    ),
  6. required dynamic onSaved(
    1. String
    ),
  7. required Widget trailingIcon,
  8. required TextInputType keyboardType,
  9. required List<TextInputFormatter> inputFormatters,
  10. required TextEditingController textEditingController,
  11. bool readyOnly = false,
  12. required dynamic onTap(
    1. String
    ),
})

Implementation

const InputTextField({
  Key? key,
  required this.hintText,
  required this.labelText,
  required this.validator,
  required this.onChange,
  required this.onSaved,
  required this.trailingIcon,
  required this.keyboardType,
  required this.inputFormatters,
  required this.textEditingController,
  this.readyOnly = false,
  required this.onTap,
}) : super(key: key);