FdcBooleanEdit constructor
const
FdcBooleanEdit({
- Key? key,
- required FdcDataSet dataSet,
- required String fieldName,
- String? label,
- bool showLabel = true,
- bool? enabled,
- bool readOnly = false,
- int? focusOrder,
- bool tabStop = true,
- FdcBooleanControl control = FdcBooleanControl.checkbox,
- FdcEditorThemeData? theme,
- FdcEditorControlsStyle controlsStyle = const FdcEditorControlsStyle(),
- bool autofocus = false,
- FdcErrorIndicatorOptions errorIndicator = const FdcErrorIndicatorOptions(),
- FdcFieldFocusCallback<
bool> ? onEnter, - FdcFieldFocusCallback<
bool> ? onExit, - FdcFieldValueChangingCallback<
bool> ? onValueChanging, - FdcFieldValueChangedCallback<
bool> ? onValueChanged,
Creates a FdcBooleanEdit.
Implementation
const FdcBooleanEdit({
super.key,
required this.dataSet,
required this.fieldName,
this.label,
this.showLabel = true,
this.enabled,
this.readOnly = false,
this.focusOrder,
this.tabStop = true,
this.control = FdcBooleanControl.checkbox,
this.theme,
this.controlsStyle = const FdcEditorControlsStyle(),
this.autofocus = false,
this.errorIndicator = const FdcErrorIndicatorOptions(),
this.onEnter,
this.onExit,
this.onValueChanging,
this.onValueChanged,
});