FdcIntegerEdit constructor

const FdcIntegerEdit({
  1. Key? key,
  2. required FdcDataSet dataSet,
  3. required String fieldName,
  4. String? label,
  5. String? hint,
  6. bool? enabled,
  7. bool readOnly = false,
  8. int? focusOrder,
  9. bool tabStop = true,
  10. bool allowNegative = true,
  11. InputDecoration? decoration,
  12. FdcEditorThemeData? theme,
  13. FdcEditorInputStyle style = const FdcEditorInputStyle(),
  14. bool autofocus = false,
  15. bool showLabel = true,
  16. bool selectAllOnFocus = false,
  17. FdcErrorIndicatorOptions errorIndicator = const FdcErrorIndicatorOptions(),
  18. FdcEditorLookup<int>? onLookup,
  19. IconData lookupIcon = Icons.more_horiz,
  20. FdcKeyboardShortcut? lookupShortcut = FdcKeyboardShortcut.f4,
  21. FdcFieldFocusCallback<int>? onEnter,
  22. FdcFieldFocusCallback<int>? onExit,
  23. FdcFieldValueChangingCallback<int>? onValueChanging,
  24. FdcFieldValueChangedCallback<int>? onValueChanged,
})

Creates a FdcIntegerEdit.

Implementation

const FdcIntegerEdit({
  super.key,
  required this.dataSet,
  required this.fieldName,
  this.label,
  this.hint,
  this.enabled,
  this.readOnly = false,
  this.focusOrder,
  this.tabStop = true,
  this.allowNegative = true,
  this.decoration,
  this.theme,
  this.style = const FdcEditorInputStyle(),
  this.autofocus = false,
  this.showLabel = true,
  this.selectAllOnFocus = false,
  this.errorIndicator = const FdcErrorIndicatorOptions(),
  this.onLookup,
  this.lookupIcon = Icons.more_horiz,
  this.lookupShortcut = FdcKeyboardShortcut.f4,
  this.onEnter,
  this.onExit,
  this.onValueChanging,
  this.onValueChanged,
});