CircularTextField constructor
CircularTextField({
- Key? key,
- TextEditingController? textEditingController,
- required IconData icon,
- String? hintText,
- Color? hintTextColor,
- required double width,
- Color? backgroundColor,
- Color? iconColor,
- Color? enabledIconColor,
- Color? cursorColor,
- TextInputType? keyboardType,
- TextStyle? style,
- bool? obscureText,
- required bool hasIcon,
- dynamic onChanged()?,
- dynamic onEditingComplete()?,
- dynamic onSubmitted()?,
- dynamic onTap()?,
Implementation
CircularTextField({
Key? key,
this.textEditingController,
required this.icon,
this.hintText,
this.hintTextColor,
required this.width,
this.backgroundColor,
this.iconColor,
this.enabledIconColor,
this.cursorColor,
this.keyboardType,
this.style,
this.obscureText,
required this.hasIcon,
this.onChanged,
this.onEditingComplete,
this.onSubmitted,
this.onTap,
}) : assert(width >= 150),
super(key: key);