EditItem constructor
const
EditItem({
- Key? key,
- required String title,
- required TextEditingController controller,
- bool showTips = false,
- int maxLength = 10000,
- String tipText = "",
- String hintText = "",
- int maxLine = 3,
- bool isRequired = false,
- CheckTextFunc? onUnFocus,
- FocusNode? focusNode,
- TextInputType keyboardType = TextInputType.multiline,
- bool onlyNum = false,
- EdgeInsets? padding,
- bool needClear = false,
- bool needUpdateShowTips = false,
Implementation
const EditItem({
Key? key,
required this.title,
required this.controller,
this.showTips = false,
this.maxLength = 10000,
this.tipText = "",
this.hintText = "",
this.maxLine = 3,
this.isRequired = false,
this.onUnFocus,
this.focusNode,
this.keyboardType = TextInputType.multiline,
this.onlyNum = false,
this.padding,
this.needClear = false,
this.needUpdateShowTips = false,
}) : super(key: key);