InputArea constructor

const InputArea({
  1. Key? key,
  2. required TextEditingController textEditingController,
  3. required ValueNotifier<bool> tipsFlag,
  4. FocusNode? focusNode,
  5. int maxLength = 500,
  6. required String hintText,
  7. String tipsText = "",
  8. double marginLeft = 20,
  9. double marginRight = 20,
  10. double? height,
  11. CheckTextFunc? onUnFocus,
  12. Color backgroundColor = uiFAFAFA,
  13. int maxLine = 5,
  14. EdgeInsets? padding,
  15. EdgeInsets? contentPadding,
  16. double? fontHeight,
  17. bool showScrollbar = false,
})

Implementation

const InputArea({
  Key? key,
  required this.textEditingController,
  required this.tipsFlag,
  this.focusNode,
  this.maxLength = 500,
  required this.hintText,
  this.tipsText = "",
  this.marginLeft = 20,
  this.marginRight = 20,
  this.height,
  this.onUnFocus,
  this.backgroundColor = uiFAFAFA,
  this.maxLine = 5,
  this.padding,
  this.contentPadding,
  this.fontHeight,
  this.showScrollbar = false,
}) : super(key: key);