OutlineTextField constructor

const OutlineTextField({
  1. required TextEditingController controller,
  2. required String hintText,
  3. required void onTapClear(),
  4. TextInputType inputType = TextInputType.text,
  5. TextInputAction inputAction = TextInputAction.next,
  6. int maxLength = TextField.noMaxLength,
  7. bool readOnly = false,
  8. void onChanged(
    1. String
    )?,
  9. Key? key,
})

Implementation

const OutlineTextField({
  required this.controller,
  required this.hintText,
  required this.onTapClear,
  this.inputType = TextInputType.text,
  this.inputAction = TextInputAction.next,
  this.maxLength = TextField.noMaxLength,
  this.readOnly = false,
  this.onChanged,
  super.key,
});