EditItem constructor

const EditItem({
  1. Key? key,
  2. required String title,
  3. required TextEditingController controller,
  4. bool showTips = false,
  5. int maxLength = 10000,
  6. String tipText = "",
  7. String hintText = "",
  8. int maxLine = 3,
  9. bool isRequired = false,
  10. CheckTextFunc? onUnFocus,
  11. FocusNode? focusNode,
  12. TextInputType keyboardType = TextInputType.multiline,
  13. bool onlyNum = false,
  14. EdgeInsets? padding,
  15. bool needClear = false,
  16. 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);