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