FdcComboEdit<T> constructor

const FdcComboEdit<T>({
  1. Key? key,
  2. required FdcDataSet dataSet,
  3. required String fieldName,
  4. required List<FdcOption<T>> options,
  5. String? label,
  6. String? hint,
  7. bool? enabled,
  8. bool readOnly = false,
  9. int? focusOrder,
  10. bool tabStop = true,
  11. InputDecoration? decoration,
  12. FdcEditorThemeData? theme,
  13. FdcEditorInputStyle style = const FdcEditorInputStyle(),
  14. FdcEditorControlsStyle controlsStyle = const FdcEditorControlsStyle(),
  15. FdcEditorComboPopupStyle popupStyle = const FdcEditorComboPopupStyle(),
  16. bool autofocus = false,
  17. bool showLabel = true,
  18. bool showSelectedOptionCheckmark = true,
  19. FdcComboSearchOptions search = const FdcComboSearchOptions(),
  20. String? searchHintText,
  21. int maxPopupItems = 8,
  22. FdcErrorIndicatorOptions errorIndicator = const FdcErrorIndicatorOptions(),
  23. FdcFieldFocusCallback<T>? onEnter,
  24. FdcFieldFocusCallback<T>? onExit,
  25. FdcFieldValueChangingCallback<T>? onValueChanging,
  26. FdcFieldValueChangedCallback<T>? onValueChanged,
})

Creates a FdcComboEdit.

Implementation

const FdcComboEdit({
  super.key,
  required this.dataSet,
  required this.fieldName,
  required this.options,
  this.label,
  this.hint,
  this.enabled,
  this.readOnly = false,
  this.focusOrder,
  this.tabStop = true,
  this.decoration,
  this.theme,
  this.style = const FdcEditorInputStyle(),
  this.controlsStyle = const FdcEditorControlsStyle(),
  this.popupStyle = const FdcEditorComboPopupStyle(),
  this.autofocus = false,
  this.showLabel = true,
  this.showSelectedOptionCheckmark = true,
  this.search = const FdcComboSearchOptions(),
  this.searchHintText,
  this.maxPopupItems = 8,
  this.errorIndicator = const FdcErrorIndicatorOptions(),
  this.onEnter,
  this.onExit,
  this.onValueChanging,
  this.onValueChanged,
});