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. bool? isNumber,
  14. bool? isPasswordField,
  15. Widget? trailingWidget,
  16. IconData? customLeadingIcon,
  17. bool? isIconShow,
  18. bool? readOnly,
  19. Color? borderColor,
  20. Color? fillColor,
  21. Color? cursorColor,
})

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.isNumber,
    this.isPasswordField,
    this.trailingWidget,
    this.customLeadingIcon,
    this.isIconShow,
    this.readOnly,
    this.borderColor,
    this.fillColor,
    this.cursorColor});