SmoothTextField constructor

const SmoothTextField({
  1. Key? key,
  2. String? hintText,
  3. IconData? suffixIcon,
  4. VoidCallback? suffixIconOnPressed,
  5. IconData? prefixIcon,
  6. VoidCallback? prefixIconOnPressed,
  7. bool? obscureText,
  8. TextEditingController? textfieldController,
  9. int? minLines,
  10. int? maxLines,
  11. bool? enabled,
  12. dynamic onChanged(
    1. String
    )?,
  13. String? validator(
    1. String?
    )?,
})

Implementation

const SmoothTextField({
  Key? key,
  this.hintText,
  this.suffixIcon,
  this.suffixIconOnPressed,
  this.prefixIcon,
  this.prefixIconOnPressed,
  this.obscureText,
  this.textfieldController,
  this.minLines,
  this.maxLines,
  this.enabled,
  this.onChanged,
  this.validator,
}) : super(key: key);