FdcComboEdit<T> constructor
const
FdcComboEdit<T> ({
- Key? key,
- required FdcDataSet dataSet,
- required String fieldName,
- required List<
FdcOption< options,T> > - String? label,
- String? hint,
- bool? enabled,
- bool readOnly = false,
- int? focusOrder,
- bool tabStop = true,
- InputDecoration? decoration,
- FdcEditorThemeData? theme,
- FdcEditorInputStyle style = const FdcEditorInputStyle(),
- FdcEditorControlsStyle controlsStyle = const FdcEditorControlsStyle(),
- FdcEditorComboPopupStyle popupStyle = const FdcEditorComboPopupStyle(),
- bool autofocus = false,
- bool showLabel = true,
- bool showSelectedOptionCheckmark = true,
- FdcComboSearchOptions search = const FdcComboSearchOptions(),
- String? searchHintText,
- int maxPopupItems = 8,
- FdcErrorIndicatorOptions errorIndicator = const FdcErrorIndicatorOptions(),
- FdcFieldFocusCallback<
T> ? onEnter, - FdcFieldFocusCallback<
T> ? onExit, - FdcFieldValueChangingCallback<
T> ? onValueChanging, - 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,
});