FdcBooleanEdit constructor

const FdcBooleanEdit({
  1. Key? key,
  2. required FdcDataSet dataSet,
  3. required String fieldName,
  4. String? label,
  5. bool showLabel = true,
  6. bool? enabled,
  7. bool readOnly = false,
  8. int? focusOrder,
  9. bool tabStop = true,
  10. FdcBooleanControl control = FdcBooleanControl.checkbox,
  11. FdcEditorThemeData? theme,
  12. FdcEditorControlsStyle controlsStyle = const FdcEditorControlsStyle(),
  13. bool autofocus = false,
  14. FdcErrorIndicatorOptions errorIndicator = const FdcErrorIndicatorOptions(),
  15. FdcFieldFocusCallback<bool>? onEnter,
  16. FdcFieldFocusCallback<bool>? onExit,
  17. FdcFieldValueChangingCallback<bool>? onValueChanging,
  18. 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,
});