JuiTextInputItem constructor

const JuiTextInputItem({
  1. Key? key,
  2. required String title,
  3. String hintText = '',
  4. required TextEditingController controller,
  5. FocusNode? focusNode,
  6. TextInputType keyboardType = TextInputType.text,
  7. int maxLines = 1,
  8. int? maxLength,
  9. bool onlyNumbers = false,
  10. ValueChanged<String>? onChanged,
  11. VoidCallback? onEditingComplete,
  12. ValueChanged<String>? onSubmitted,
  13. JuiItemConfig config = const JuiItemConfig(),
  14. 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);