SmoothTextFormField constructor
const
SmoothTextFormField({ - required TextFieldTypes type,
- required TextEditingController? controller,
- required String hintText,
- Key? key,
- bool? enabled,
- TextInputAction? textInputAction,
- TextCapitalization? textCapitalization,
- String? validator(
- String?
)?,
- Iterable<String>? autofillHints,
- TextStyle? hintTextStyle,
- Widget? prefixIcon,
- Widget? suffixIcon,
- TextInputType? textInputType,
- void onChanged(
- String?
)?,
- ValueChanged<String>? onFieldSubmitted,
- bool? autofocus,
- FocusNode? focusNode,
- SpellCheckConfiguration? spellCheckConfiguration,
- bool allowEmojis = true,
- int? maxLines,
- BorderRadius? borderRadius,
- EdgeInsetsGeometry? contentPadding,
- 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,
});