FdcTextEdit constructor

const FdcTextEdit({
  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 showCounter = false,
  11. FdcCounterStyle counterStyle = const FdcCounterStyle(),
  12. InputDecoration? decoration,
  13. FdcEditorThemeData? theme,
  14. FdcEditorInputStyle style = const FdcEditorInputStyle(),
  15. bool autofocus = false,
  16. bool showLabel = true,
  17. bool selectAllOnFocus = false,
  18. FdcErrorIndicatorOptions errorIndicator = const FdcErrorIndicatorOptions(),
  19. FdcEditorLookup<Object?>? onLookup,
  20. IconData lookupIcon = Icons.more_horiz,
  21. FdcKeyboardShortcut? lookupShortcut = FdcKeyboardShortcut.f4,
  22. FdcFieldFocusCallback<Object?>? onEnter,
  23. FdcFieldFocusCallback<Object?>? onExit,
  24. FdcFieldValueChangingCallback<Object?>? onValueChanging,
  25. FdcFieldValueChangedCallback<Object?>? onValueChanged,
})

Creates a FdcTextEdit.

Implementation

const FdcTextEdit({
  super.key,
  required this.dataSet,
  required this.fieldName,
  this.label,
  this.hint,
  this.enabled,
  this.readOnly = false,
  this.focusOrder,
  this.tabStop = true,
  this.showCounter = false,
  this.counterStyle = const FdcCounterStyle(),
  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,
});