fdc_export library
Export orchestration, format contracts, writers, and export value models.
Use this entrypoint when a feature only needs to transform dataset or row data into export payloads. The Community package includes text-oriented formats and the writer extension seam used by add-on formats.
import 'package:flutter_data_components/fdc_export.dart';
FdcExporter resolves rows and columns, then delegates serialization to a
registered FdcExportWriter. Custom writers can be registered for extension
formats without changing the dataset or grid layer.
Classes
- FdcBinaryExportPayload
- Binary payload returned by writers such as PDF or spreadsheet exporters.
- FdcExportColumn
- Maps one source field to its exported identity and presentation metadata.
- FdcExporter
- Coordinates FDC exports by resolving rows, columns and format writers.
- FdcExportFormat
- Export output format descriptor.
- FdcExportFormatStyle
- Base type for format-specific visual export styles.
- FdcExportOptions
- Cross-format options that control row selection, column selection and text serialization behavior for FDC exports.
- FdcExportPayload
-
Serialized content produced by an
FdcExportWriter. - FdcExportRegistry
- Global registry of export writers available to FDC.
- FdcExportResult
- Completed export together with its format metadata and serialized payload.
- FdcExportStyle
- App- or subtree-level default styles resolved by export writers.
- FdcExportWriter
- Contract implemented by built-in and extension export format writers.
- FdcExportWriterContext
-
Immutable export request passed to an
FdcExportWriter. - FdcExportWriterOptions
- Marker base type for format-specific writer configuration.
- FdcTextExportPayload
- UTF-8 text payload returned by text-based export writers.
Enums
- FdcExportScope
- Row scope used by dataset/grid export operations.
- FdcExportTextAlignment
- Horizontal alignment hint used by presentation-oriented export writers.
- FdcExportValueMode
- Controls whether exported values remain typed/raw or are converted to text.
Typedefs
- FdcExportValueFormatter = String Function(Object? value)
- Formats a source value as presentation text for presentation-oriented writers.