SmoothTextFormField constructor

const SmoothTextFormField({
  1. required TextFieldTypes type,
  2. required TextEditingController? controller,
  3. required String hintText,
  4. Key? key,
  5. bool? enabled,
  6. TextInputAction? textInputAction,
  7. TextCapitalization? textCapitalization,
  8. String? validator(
    1. String?
    )?,
  9. Iterable<String>? autofillHints,
  10. TextStyle? hintTextStyle,
  11. Widget? prefixIcon,
  12. Widget? suffixIcon,
  13. TextInputType? textInputType,
  14. void onChanged(
    1. String?
    )?,
  15. ValueChanged<String>? onFieldSubmitted,
  16. bool? autofocus,
  17. FocusNode? focusNode,
  18. SpellCheckConfiguration? spellCheckConfiguration,
  19. bool allowEmojis = true,
  20. int? maxLines,
  21. BorderRadius? borderRadius,
  22. EdgeInsetsGeometry? contentPadding,
  23. bool outlined = false,
})

Implementation

const SmoothTextFormField({
  required this.type,
  required this.controller,
  required this.hintText,
  super.key,
  this.enabled,
  this.textInputAction,
  this.textCapitalization,
  this.validator,
  this.autofillHints,
  this.hintTextStyle,
  this.prefixIcon,
  this.suffixIcon,
  this.textInputType,
  this.onChanged,
  this.onFieldSubmitted,
  this.autofocus,
  this.focusNode,
  this.spellCheckConfiguration,
  this.allowEmojis = true,
  this.maxLines,
  this.borderRadius,
  this.contentPadding,
  this.outlined = false,
});