FdcIntegerEdit constructor
const
FdcIntegerEdit({
- Key? key,
- required FdcDataSet dataSet,
- required String fieldName,
- String? label,
- String? hint,
- bool? enabled,
- bool readOnly = false,
- int? focusOrder,
- bool tabStop = true,
- bool allowNegative = true,
- InputDecoration? decoration,
- FdcEditorThemeData? theme,
- FdcEditorInputStyle style = const FdcEditorInputStyle(),
- bool autofocus = false,
- bool showLabel = true,
- bool selectAllOnFocus = false,
- FdcErrorIndicatorOptions errorIndicator = const FdcErrorIndicatorOptions(),
- FdcEditorLookup<
int> ? onLookup, - IconData lookupIcon = Icons.more_horiz,
- FdcKeyboardShortcut? lookupShortcut = FdcKeyboardShortcut.f4,
- FdcFieldFocusCallback<
int> ? onEnter, - FdcFieldFocusCallback<
int> ? onExit, - FdcFieldValueChangingCallback<
int> ? onValueChanging, - 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,
});