fdc_edit library
Lightweight entrypoint for FDC data-aware editor controls.
Import this library when a feature only needs editor widgets and their public value, validation, lookup, style, and event contracts without the complete grid and dataset barrel.
import 'package:flutter_data_components/fdc_edit.dart';
Classes
- FdcBooleanEdit
- Data-aware editor for boolean dataset fields.
-
FdcComboEdit<
T> - Data-aware selection editor backed by a predefined set of options.
- FdcComboSearchOptions
- Search configuration for combo editors and combo grid columns.
- FdcDateEdit
- Data-aware editor for date-only dataset fields.
- FdcDateTimeEdit
- Data-aware editor for full date-and-time dataset fields.
- FdcDecimalEdit
- Data-aware editor for decimal dataset fields.
- FdcEditorComboPopupStyle
- Visual styling for combo-editor popup surfaces, search UI, and option rows.
- FdcEditorControlsStyle
- Visual styling for non-text editor controls such as boolean and combo UI.
- FdcEditorInputStyle
- Visual styling for text-like FDC editor inputs.
- FdcEditorTheme
- Optional Flutter ThemeExtension bridge for FDC editors.
- FdcEditorThemeData
- Complete visual theme for standalone FDC editors.
- FdcEditorThemes
- Built-in editor theme presets supplied by FDC.
- FdcErrorIndicatorMarker
- Small top-left error marker shared by grid cells and standalone editors.
- FdcErrorIndicatorMarkerStyle
- Visual styling for the compact triangular validation marker.
- FdcErrorIndicatorOptions
- Configures how a component presents validation and data-entry errors.
-
FdcFieldFocusContext<
T> - Context supplied when a dataset-bound field gains or loses focus.
-
FdcFieldValueChangeAccepted<
T> - Accepts the proposed field value without replacing it.
-
FdcFieldValueChangeCanceled<
T> - Rejects a proposed field change, optionally with a user-facing message.
-
FdcFieldValueChangedContext<
T> - Read-only context emitted after a field value change has been accepted.
-
FdcFieldValueChangeReplacement<
T> - Accepts a field change but substitutes a different value.
-
FdcFieldValueChangeResult<
T> -
Decision returned from an
onValueChangingcallback. -
FdcFieldValueChangingContext<
T> - Mutable context supplied before a proposed field value is committed.
- FdcIntegerEdit
- Data-aware editor for integer dataset fields.
- FdcLookupContext
- Shared context passed to grid and standalone editor lookup callbacks.
- FdcLookupResult
- Result returned by grid and standalone editor lookup callbacks.
- FdcMemoEdit
- Data-aware multiline editor for long text dataset fields.
-
FdcOption<
T> - Static value used by combo-like controls and filters.
- FdcTextEdit
- Data-aware single-line editor for text dataset fields.
- FdcTheme
- Subtree-level FDC visual theme provider.
- FdcTimeEdit
- Data-aware editor for time-of-day dataset fields.
Enums
- FdcBooleanControl
- Visual controls supported by boolean FDC editors.
- FdcComboSearchMode
- Defines how combo popup search matches option labels.
- FdcErrorIndicatorMode
- Selects how a component presents validation/data-entry errors.
- FdcFieldEventHost
- Identifies the UI surface that emitted a field event.
- FdcFieldFocusChangeReason
- Describes why focus entered or left a dataset-bound field host.
- FdcLookupMode
- Lookup invocation mode.
Typedefs
-
FdcEditorLookup<
T> = Future< FdcLookupResult?> Function(FdcLookupContext context) - Asynchronous lookup callback for a standalone data-aware editor.
-
FdcFieldFocusCallback<
T> = void Function(FdcFieldFocusContext< T> context) - Callback invoked when focus enters or leaves a bound dataset field.
-
FdcFieldValueChangedCallback<
T> = void Function(FdcFieldValueChangedContext< T> context) - Callback invoked after an accepted field value change has been applied.
-
FdcFieldValueChangingCallback<
T> = FdcFieldValueChangeResult< T> ? Function(FdcFieldValueChangingContext<T> context) - Callback invoked before a proposed field value is committed.