SimpleEditText constructor

SimpleEditText({
  1. int height = 48,
  2. Color background = ColorConfig.white_f2f2f2,
  3. double borderRadius = 4,
  4. double fontSize = 16,
  5. Color fontColor = ColorConfig.black_5c5c5c,
  6. Color hintColor = ColorConfig.gray_999999,
  7. String? hintText = "请输入内容",
  8. String? prefixIcon = "packages/yxr_flutter_basic/lib/images/icon_search_gray.png",
  9. String? suffixIcon,
  10. EdgeInsetsGeometry? padding = _padding,
  11. EdgeInsetsGeometry? margin = _margin,
  12. TextEditingController? controller,
  13. ValueChanged<String>? onSubmitted,
  14. 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});