InputArea constructor
const
InputArea({
- Key? key,
- required TextEditingController textEditingController,
- required ValueNotifier<
bool> tipsFlag, - FocusNode? focusNode,
- int maxLength = 500,
- required String hintText,
- String tipsText = "",
- double marginLeft = 20,
- double marginRight = 20,
- double? height,
- CheckTextFunc? onUnFocus,
- Color backgroundColor = uiFAFAFA,
- int maxLine = 5,
- EdgeInsets? padding,
- EdgeInsets? contentPadding,
- double? fontHeight,
- 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);