IDSFloatTextField constructor

const IDSFloatTextField({
  1. Key? key,
  2. TextEditingController? controller,
  3. required String hintText,
  4. IconData? prefixIcon,
  5. Color? prefixIconColor,
  6. Color? hintTextColor,
  7. Color? textColor,
  8. Color? borderColor,
  9. Color? focusedBorderColor,
  10. String? validator(
    1. String?
    )?,
  11. double circularRadius = 25.0,
  12. int maxLength = 1000,
})

Creates an instance of IDSFloatTextField with the specified parameters.

Implementation

const IDSFloatTextField({
  super.key,
  this.controller,
  required this.hintText,
  this.prefixIcon,
  this.prefixIconColor,
  this.hintTextColor,
  this.textColor,
  this.borderColor,
  this.focusedBorderColor,
  this.validator,
  this.circularRadius = 25.0,
  this.maxLength = 1000,
});