FlutterTextField constructor

const FlutterTextField({
  1. Key? key,
  2. int? width,
  3. Color? backgroundColor,
  4. int? borderRadius,
  5. Color? iconBackgroundColor,
  6. Widget? customTextFieldIcon,
  7. Color? leadingIconColor,
  8. int? leadingIconSize,
  9. String? hintText,
  10. TextEditingController? textEditingController,
  11. TextStyle? hintStyling,
  12. TextStyle? textFieldTextStyle,
  13. TextStyle? labelNameTextStyle,
  14. bool? isNumber,
  15. bool? isPasswordField,
  16. Widget? trailingWidget,
  17. IconData? customLeadingIcon,
  18. bool? isIconShow,
  19. bool? readOnly,
  20. Color? borderColor,
  21. Color? fillColor,
  22. Color? cursorColor,
  23. String? labelName,
  24. String? validator(
    1. String?
    )?,
})

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,
});