CLInputGroup<T> constructor

const CLInputGroup<T>({
  1. Key? key,
  2. required T? selected,
  3. required List<CLInputGroupItem<T>> items,
  4. required TextEditingController controller,
  5. ValueChanged<T?>? onChanged,
  6. FocusNode? focusNode,
  7. String? hintText,
  8. TextInputType? keyboardType,
  9. bool enabled = true,
  10. double? dropdownWidth,
  11. bool hasError = false,
  12. ValueChanged<String>? onTextChanged,
  13. ValueChanged<String>? onSubmitted,
})

Implementation

const CLInputGroup({
  super.key,
  required this.selected,
  required this.items,
  required this.controller,
  this.onChanged,
  this.focusNode,
  this.hintText,
  this.keyboardType,
  this.enabled = true,
  this.dropdownWidth,
  this.hasError = false,
  this.onTextChanged,
  this.onSubmitted,
});