ApTextField constructor

const ApTextField({
  1. Key? key,
  2. required TextEditingController controller,
  3. required FocusNode? focusNode,
  4. FocusNode? nextFocusNode,
  5. dynamic onSubmitted(
    1. String text
    )?,
  6. String labelText = '',
  7. TextInputAction textInputAction = TextInputAction.next,
  8. TextInputType keyboardType = TextInputType.text,
  9. bool obscureText = false,
  10. int? maxLength,
  11. dynamic onChanged(
    1. String text
    )?,
  12. Iterable<String>? autofillHints,
})

Implementation

const ApTextField({
  Key? key,
  required this.controller,
  required this.focusNode,
  this.nextFocusNode,
  this.onSubmitted,
  this.labelText = '',
  this.textInputAction = TextInputAction.next,
  this.keyboardType = TextInputType.text,
  this.obscureText = false,
  this.maxLength,
  this.onChanged,
  this.autofillHints,
}) : super(key: key);