Extracted from fai/studio's lib/pages/flow_editor.dart so the editor can be swapped out independently of the host. Public surface kept minimal — a single FlowEditorPage widget with three named parameters (initialFlowName, locale, onRun). The package brings its own design tokens, empty/error widgets, l10n table; no host-internal types leak through. Studio depends on this repo via pubspec.yaml git reference. Forks point Studio at a different URL and rebuild. See README.md for the swap recipe. Signed-off-by: F∆I Platform <platform@flemming.ai>
17 lines
682 B
Dart
17 lines
682 B
Dart
/// Inline YAML editor for F∆I Studio flows — swappable.
|
|
///
|
|
/// Studio depends on this package via pubspec.yaml. To use a
|
|
/// different editor, fork this repo, change the implementation,
|
|
/// point Studio's pubspec at the fork, rebuild Studio.
|
|
///
|
|
/// Public surface:
|
|
/// * [FlowEditorPage] — the page widget Studio embeds as
|
|
/// its "Editor" destination + as a route push from the
|
|
/// Flows page's pencil icon.
|
|
/// * [FlowEditorLocale] — the locale the package renders
|
|
/// its inline strings in. Studio passes its active
|
|
/// Locale through.
|
|
library;
|
|
|
|
export 'src/flow_editor_page.dart' show FlowEditorPage;
|
|
export 'src/l10n.dart' show FlowEditorLocale;
|