JuiTextInputItem constructor
const
JuiTextInputItem({
- Key? key,
- required String title,
- String hintText = '',
- required TextEditingController controller,
- FocusNode? focusNode,
- TextInputType keyboardType = TextInputType.text,
- int maxLines = 1,
- int? maxLength,
- bool onlyNumbers = false,
- ValueChanged<
String> ? onChanged, - VoidCallback? onEditingComplete,
- ValueChanged<
String> ? onSubmitted, - JuiItemConfig config = const JuiItemConfig(),
- bool showClearButton = true,
Implementation
const JuiTextInputItem({
Key? key,
required this.title,
this.hintText = '',
required this.controller,
this.focusNode,
this.keyboardType = TextInputType.text,
this.maxLines = 1,
this.maxLength,
this.onlyNumbers = false,
this.onChanged,
this.onEditingComplete,
this.onSubmitted,
this.config = const JuiItemConfig(),
this.showClearButton = true,
}) : super(key: key);