FdcMemoEdit class

Data-aware multiline editor for long text dataset fields.

The control binds multiline text input to the current dataset record and participates in the dataset edit lifecycle.

Inheritance

Constructors

FdcMemoEdit({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(), FdcFieldFocusCallback<String>? onEnter, FdcFieldFocusCallback<String>? onExit, FdcFieldValueChangingCallback<String>? onValueChanging, FdcFieldValueChangedCallback<String>? onValueChanged})
Creates a FdcMemoEdit.
const

Properties

autofocus → bool
Whether this editor requests focus when first built.
final
counterStyle → FdcCounterStyle
Visual style used by the optional text length counter.
final
dataSet → FdcDataSet
Dataset whose current record and edit buffer are bound to this editor.
final
decoration → InputDecoration?
Optional Flutter input decoration override.
final
enabled → bool?
Optional enabled-state override; null leaves enablement to the binding.
final
errorIndicator → FdcErrorIndicatorOptions
Configures how validation errors are presented by this editor.
final
fieldName → String
Name of the dataset field bound to this editor.
final
focusOrder → int?
Optional numeric order used by FDC focus traversal.
final
hashCode → int
The hash code for this object.
no setterinherited
hint → String?
Optional hint shown when the editor has no input text.
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
label → String?
Optional label displayed for the editor.
final
onEnter → FdcFieldFocusCallback<String>?
Called when focus enters this bound field.
final
onExit → FdcFieldFocusCallback<String>?
Called when focus leaves this bound field.
final
onValueChanged → FdcFieldValueChangedCallback<String>?
Called after an accepted value change has been applied.
final
onValueChanging → FdcFieldValueChangingCallback<String>?
Called before a proposed value change is committed.
final
readOnly → bool
Whether user input is blocked even when the bound field is writable.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectAllOnFocus → bool
Whether entering the editor selects all current text.
final
showCounter → bool
Whether to show the field length counter for text input.
final
showLabel → bool
Whether the editor renders its label.
final
style → FdcEditorInputStyle
Local text-input style merged over the resolved editor theme.
final
tabStop → bool
Whether the editor participates in keyboard focus traversal.
final
theme → FdcEditorThemeData?
Optional local editor theme override for this control.
final

Methods

build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
override
createElement() → StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited