IDSUITextField constructor
const
IDSUITextField({
- Key? key,
- TextEditingController? controller,
- required String hintText,
- IconData? prefixIcon,
- Color? prefixIconColor,
- Color? hintTextColor,
- Color? textColor,
- Color? borderColor,
- Color? focusedBorderColor,
- String? validator()?,
- double circularRadius = 25.0,
- TextInputType? keyboardType = TextInputType.text,
Creates a customizable text input field with optional styling and properties.
Implementation
const IDSUITextField({
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, // Default value set to 25.0
this.keyboardType = TextInputType.text,
});