SmoothTextFormField constructor Null safety

const SmoothTextFormField(
  1. {dynamic key,
  2. required TextFieldTypes type,
  3. required dynamic controller,
  4. bool? enabled,
  5. dynamic textInputAction,
  6. String? validator(
    1. String?
    )?,
  7. Iterable<String>? autofillHints,
  8. dynamic textColor,
  9. dynamic backgroundColor,
  10. required String hintText,
  11. double? hintTextFontSize,
  12. dynamic prefixIcon,
  13. dynamic textInputType,
  14. void onChanged(
    1. String?
    )?}
)

Implementation

const SmoothTextFormField({
  Key? key,
  required this.type,
  required this.controller,
  this.enabled,
  this.textInputAction,
  this.validator,
  this.autofillHints,
  this.textColor,
  this.backgroundColor,
  required this.hintText,
  this.hintTextFontSize,
  this.prefixIcon,
  this.textInputType,
  this.onChanged,
}) : super(key: key);