module/ui/edit/k_edit_text
library
Functions
-
keditText({int? height, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, Color? backgroundColor, Color? focusBorderColor, int? focusBorderWidth, int radius = 0, TextEditingController? editingController, TextStyle? textStyle, String? hint, TextStyle? hintStyle, Widget? leftIcon, Rx<bool>? isfocus, dynamic onChanged(String?)?, TextInputType? textInputType, bool isPassword = false})
→ Widget
-
输入框
height
高度
margin
外边距
padding
内边距
backgroundColor
背景色
focusBorderColor
获取焦点边框颜色
focusBorderWidth
边框宽度
radius
背景圆角
editingController
textStyle
输入文案样式
hint
提示文案
hintStyle
提示文案样式
leftIcon
左侧图片
isfocus
是否获取焦点
onChanged
内容变化监听
textInputType
输入类型
isPassword
是否秘密,现实还是隐藏输入内容
-
keditTextPwd({int? height, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, Color? backgroundColor, Color? focusBorderColor, int? focusBorderWidth, int radius = 0, TextEditingController? editingController, TextStyle? textStyle, String? hint, TextStyle? hintStyle, Widget? leftIcon, Rx<bool>? isfocus, dynamic onChanged(String?)?, TextInputType? textInputType, Rx<bool>? showPassword, Color? eyeColors})
→ Widget
-
输入框-带显示和隐藏密码
height
高度
margin
外边距
padding
内边距
backgroundColor
背景色
focusBorderColor
获取焦点边框颜色
focusBorderWidth
边框宽度
radius
背景圆角
editingController
textStyle
输入文案样式
hint
提示文案
hintStyle
提示文案样式
leftIcon
左侧图片
isfocus
是否获取焦点
onChanged
内容变化监听
textInputType
输入类型
showPassword
是否显示秘密
eyeColors
密码图标颜色