NeomageTextField constructor

const NeomageTextField({
  1. Key? key,
  2. TextEditingController? controller,
  3. FocusNode? focusNode,
  4. String? label,
  5. String? hint,
  6. String? errorText,
  7. int? maxLines = 1,
  8. int? minLines,
  9. bool obscureText = false,
  10. bool readOnly = false,
  11. IconData? prefixIcon,
  12. Widget? suffix,
  13. ValueChanged<String>? onChanged,
  14. ValueChanged<String>? onSubmitted,
  15. TextInputType? keyboardType,
})

Implementation

const NeomageTextField({
  super.key,
  this.controller,
  this.focusNode,
  this.label,
  this.hint,
  this.errorText,
  this.maxLines = 1,
  this.minLines,
  this.obscureText = false,
  this.readOnly = false,
  this.prefixIcon,
  this.suffix,
  this.onChanged,
  this.onSubmitted,
  this.keyboardType,
});