TextFormInput constructor

const TextFormInput({
  1. Key? key,
  2. String? text,
  3. Widget? icon,
  4. bool autoFocus = false,
  5. bool isPassword = false,
  6. TextEditingController? controller,
  7. String? hintText,
  8. TextInputType? keyboardType,
  9. int minLines = 1,
  10. int maxLines = 1,
  11. bool enabled = true,
  12. EdgeInsetsGeometry? contentPadding,
  13. int? maxLength,
  14. List<TextInputFormatter>? inputFormatters,
  15. String? errorText,
  16. required String label,
  17. ValueChanged<String>? onChanged,
  18. TextInputAction? textInputAction,
  19. FocusNode? focusNode,
  20. dynamic onSubmited(
    1. String
    )?,
  21. FormFieldValidator<String>? validator,
})

Implementation

const TextFormInput(
    {Key? key,
    this.text,
    this.icon,
    this.autoFocus = false,
    this.isPassword = false,
    this.controller,
    this.hintText,
    this.keyboardType,
    this.minLines = 1,
    this.maxLines = 1,
    this.enabled = true,
    this.contentPadding,
    this.maxLength,
    this.inputFormatters,
    this.errorText,
    required this.label,
    this.onChanged,
    this.textInputAction,
    this.focusNode,
    this.onSubmited,
    this.validator})
    : super(key: key);