XInput constructor
const
XInput({
- Key? key,
- String? title,
- required String bindKey,
- bool isRequired = false,
- double height = 50,
- String initialValue = "",
- bool readOnly = false,
- int maxLines = 1,
- int minLines = 1,
- double titleFontSize = 12,
- bool? isWarning = false,
- String? warningText = "",
- FontWeight titleFontWeight = FontWeight.normal,
- FocusNode? focusNode,
- dynamic onChanged()?,
Implementation
const XInput({
super.key,
this.title,
required this.bindKey,
this.isRequired = false,
this.height = 50,
this.initialValue = "",
this.readOnly = false,
this.maxLines = 1,
this.minLines = 1,
this.titleFontSize = 12,
this.isWarning = false,
this.warningText = "",
this.titleFontWeight = FontWeight.normal,
this.focusNode,
this.onChanged,
});