Ocideck/pubspec.yaml
Brenno de Winter 32ef54e037 Add chart slides (bar/line/pie) with hybrid CSV storage
New "Grafiek" slide type rendering bar, line and pie charts.

Storage fits Marp: a ```chart fenced block holds the spec as JSON. Small
charts keep their data inline (the .md stays self-contained); data-driven
charts link an external CSV via "source": "data/<name>.csv" kept in a
separate data/ directory and packaged into .ocideck like images. On save
the inline data is stripped for linked charts (the CSV is the source of
truth); on open it is re-hydrated from the CSV.

- lib/models/chart.dart: ChartSpec/ChartSeries JSON parse/serialize,
  inline-vs-source handling, and a CSV parser.
- In-app rendering (preview/presenter/PDF/PPTX) via fl_chart.
- HTML export renders charts as self-contained inline SVG generated in
  Dart (no JS chart library); export inlines linked data so the page is
  standalone.
- Editor: type picker, title, a CSV-style data field, and CSV import that
  can inline the data or link it as data/<name>.csv (with unlink).
- Markdown round-trip + .ocideck packaging of linked CSVs; translations
  for all supported languages.

flutter analyze is clean, all tests pass (new chart/CSV/round-trip tests),
and the macOS debug build compiles.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-07 11:42:44 +02:00

67 lines
1.6 KiB
YAML

name: ocideck
description: "Marp Presentation Builder for Desktop"
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: ^3.12.0
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
cupertino_icons: ^1.0.8
flutter_riverpod: ^3.3.1
file_picker: ^11.0.2
path_provider: ^2.1.5
path: ^1.9.1
uuid: ^4.5.1
screen_retriever: ^0.2.0
window_manager: ^0.5.1
shared_preferences: ^2.3.3
pasteboard: ^0.5.0
pdf: ^3.12.0
archive: ^4.0.9
video_player: ^2.11.1
characters: ^1.3.0
url_launcher: ^6.3.0
desktop_drop: ^0.7.1
image: ^4.8.0
flutter_highlight: ^0.7.0
flutter_math_fork: ^0.7.4
highlight: ^0.7.0
wakelock_plus: ^1.5.2
# Vendored fork: adds native macOS window-geometry/fullscreen methods that
# the published 0.3.0 dropped, needed for the dual-screen presenter mode.
desktop_multi_window:
path: third_party/desktop_multi_window
fl_chart: ^1.2.0
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^6.0.0
xml: ^6.6.1
dependency_overrides:
screen_retriever_macos:
path: third_party/screen_retriever_macos
# 2.9.5+ publishes a Swift module whose private Objective-C dependency is
# not packaged correctly by CocoaPods on Xcode 26.
video_player_avfoundation: 2.9.4
flutter:
config:
enable-swift-package-manager: false
uses-material-design: true
assets:
- assets/images/de-winter-wittegeheel.png
- assets/themes/ocideck.css
- assets/web_export/
fonts:
- family: EB Garamond
fonts:
- asset: assets/fonts/EBGaramond-Variable.ttf
- asset: assets/fonts/EBGaramond-Italic-Variable.ttf
style: italic