FlutterTextField constructor
const
FlutterTextField({
- Key? key,
- int? width,
- Color? backgroundColor,
- int? borderRadius,
- Color? iconBackgroundColor,
- Widget? customTextFieldIcon,
- Color? leadingIconColor,
- int? leadingIconSize,
- String? hintText,
- TextEditingController? textEditingController,
- TextStyle? hintStyling,
- TextStyle? textFieldTextStyle,
- TextStyle? labelNameTextStyle,
- bool? isNumber,
- bool? isPasswordField,
- Widget? trailingWidget,
- IconData? customLeadingIcon,
- bool? isIconShow,
- bool? readOnly,
- Color? borderColor,
- Color? fillColor,
- Color? cursorColor,
- String? labelName,
- String? validator()?,
Implementation
const FlutterTextField({
super.key,
this.width,
this.backgroundColor,
this.borderRadius,
this.iconBackgroundColor,
this.customTextFieldIcon,
this.leadingIconColor,
this.leadingIconSize,
this.hintText,
this.textEditingController,
this.hintStyling,
this.textFieldTextStyle,
this.labelNameTextStyle,
this.isNumber,
this.isPasswordField,
this.trailingWidget,
this.customLeadingIcon,
this.isIconShow,
this.readOnly,
this.borderColor,
this.fillColor,
this.cursorColor,
this.labelName,
this.validator,
});