SimpleEditText constructor
SimpleEditText({
- int height = 48,
- Color background = ColorConfig.white_f2f2f2,
- double borderRadius = 4,
- double fontSize = 16,
- Color fontColor = ColorConfig.black_5c5c5c,
- Color hintColor = ColorConfig.gray_999999,
- String? hintText = "请输入内容",
- String? prefixIcon = "packages/yxr_flutter_basic/lib/images/icon_search_gray.png",
- String? suffixIcon,
- EdgeInsetsGeometry? padding = _padding,
- EdgeInsetsGeometry? margin = _margin,
- TextEditingController? controller,
- ValueChanged<
String> ? onSubmitted, - ValueChanged<
String> ? onChanged,
Implementation
SimpleEditText(
{this.height = 48,
this.background = ColorConfig.white_f2f2f2,
this.borderRadius = 4,
this.fontSize = 16,
this.fontColor = ColorConfig.black_5c5c5c,
this.hintColor = ColorConfig.gray_999999,
this.hintText = "请输入内容",
this.prefixIcon =
"packages/yxr_flutter_basic/lib/images/icon_search_gray.png",
this.suffixIcon,
this.padding = _padding,
this.margin = _margin,
this.controller,
this.onSubmitted,
this.onChanged});