44 lines
2.5 KiB
Markdown
44 lines
2.5 KiB
Markdown
# multimedia_flutter
|
||
|
||
A new Flutter project created with FlutLab - https://flutlab.io
|
||
|
||
## Getting Started
|
||
|
||
A few resources to get you started if this is your first Flutter project:
|
||
- https://flutter.dev/docs/get-started/codelab
|
||
- https://flutter.dev/docs/cookbook
|
||
|
||
For help getting started with Flutter, view https://flutter.dev/docs which offers tutorials, samples, guidance on mobile development, and a full API reference.
|
||
|
||
## Getting Started: FlutLab - Flutter Online IDE
|
||
- How to use FlutLab? Please, view https://flutlab.io/docs
|
||
- Join the discussion and conversation on https://flutlab.io/residents
|
||
|
||
## Upload to ChatGPT Project (ohne Git)
|
||
1. Optional: `flutter clean` im Repo ausführen.
|
||
2. Paket bauen: `pwsh tool/export.ps1` (oder `pwsh tool/export.ps1 -Clean`).
|
||
3. In ChatGPT Project "Multimedia in Flutter/Dart" → Add files → die erzeugte ZIP aus `dist/` hochladen.
|
||
4. Bei Änderungen Schritt 2 wiederholen und erneut hochladen.
|
||
|
||
Ausgeschlossene Verzeichnisse beim Export: `build/`, `.dart_tool/`, `ios/Pods/`, `android/build/`, `.idea/`, `.vscode/`, `web/build/`, `android/.gradle`, `dist/`, `tool/`, `.git/`, `.github/`.
|
||
|
||
## Windows Schnellstart
|
||
- Doppelklick: `tool/export.bat` erstellt ein ZIP unter `dist/`.
|
||
- Optional sauber bauen: `tool/export.bat -Clean`
|
||
- Danach im ChatGPT Project "Multimedia in Flutter/Dart" → Add files → ZIP hochladen.
|
||
|
||
Hinweis
|
||
- Eine Flutter-`.gitignore` ist enthalten und kann später für dein eigenes Git-Repo verwendet werden.
|
||
|
||
### Tipps bei "File content may not be accessible"
|
||
- Lade statt ZIP einen Ordner hoch: `pwsh tool/export.ps1 -AsFolder` und den erzeugten Ordner aus `dist/` per Drag & Drop ins Project ziehen.
|
||
- Minimalen Quellcode exportieren: `pwsh tool/export.ps1 -Minimal` (oder kombiniert: `-Minimal -AsFolder`).
|
||
- Große/binary Dateien (z. B. Bilder, .jar) können im Project nicht angezeigt werden – das ist normal. Für Code-Kontext reicht der Minimal-Export.
|
||
|
||
### Upload-Limit (10 Dateien)
|
||
- Ein-Datei-Bundle: `pwsh tool/export.ps1 -Minimal -Bundle` (empfohlen für ChatGPT Anzeige). Upload nur der erzeugten `*-bundle.txt`.
|
||
- Alternativ, in 10er-Pakete splitten: `pwsh tool/export.ps1 -Minimal -AsFolder -Chunk 10` und die erzeugten `pack-***` Ordner nacheinander hochladen.
|
||
- Standard-Ordner: `-AsFolder` ohne `-Chunk` erzeugt einen kompletten Ordner (ggf. in mehreren Uploads á 10 Dateien hochladen).
|
||
|
||
flutter build web --release --web-renderer html --pwa-strategy=none --dart-define=BUILD_NUMBER=2026.01.08.1 --dart-define=BACKEND_BASE_URL=https://api.windesign.at/multimedia.php
|