Flutter starter app (Dart 3.5+ null-safe + video_player + http) for browsing and playing MoveKit 3D exercise animations. Starts with zero API key against live watermarked evaluation previews, then upgrades to bundled self-hosted clips or MoveKit Hosted streaming with a single activeMediaMode change.
Watermarked previews on previews.movekit.com are for development, staging, and evaluation only. Clean high-resolution H.264 MP4 clips and exact first-frame posters ship via a one-time MoveKit pack or optional MoveKit Hosted streaming.
MoveKit Docs | Exercise Database (GitHub) | Hugging Face | Kaggle | SDK & CLI (movekit) | Expo Starter
git clone https://github.com/movekit-dev/movekit-flutter-starter.git
cd movekit-flutter-starter && flutter create . && flutter pub get
flutter runflutter create . generates native ios/, android/, and web/ runner folders for your installed Flutter SDK without overwriting lib/ or test/. On launch, the app fetches all 697 exercises from movekit-dev/exercise-database on jsDelivr CDN and plays muted, looping previews immediately.
Run the unit tests anytime:
flutter test- Typed catalog wrapper model (
lib/models/exercise.dart): Parses the real{ count, source, license, about, exercises }wrapper fromexercise-database, normalizingidasStringalong withaliases,primaryMuscles,secondaryMuscles,equipment,implementsNeeded,movementPattern,difficulty,durationSeconds,poster, andpreview. - Unified Dart media resolver (
lib/services/exercise_media_resolver.dart): MirrorscreateExerciseMediaResolverfrommovekit@0.2.0acrossExerciseMediaMode.preview,ExerciseMediaMode.local, andExerciseMediaMode.hosted. Throws aStateErroriffallbackToPreviewis enabled in release mode (kReleaseMode) so watermarked previews never ship to production. - Leak-free
video_playercard (lib/widgets/exercise_video_card.dart): Supports both network URLs and bundled Flutter assets, muted looping withmixWithOthers: true, reduced-motion handling (MediaQuery.disableAnimationsOf), first-frame poster placeholder while initializing, and strictdispose()cleanup in scrollable lists. - Material 3 browser (
lib/main.dart): Light and dark theme support, instant search across names and aliases, and horizontal filter chips for all 16 primary muscle groups. - Unit tests (
test/exercise_media_resolver_test.dart): Covers wrapper JSON parsing, alias matching, preview/local/hosted resolution, Paid Pack ZIP metadata, and thekReleaseModeguard.
Every MoveKit surface shares the exact same id and slug join keys. Keep your widget code unchanged and switch activeMediaMode in lib/main.dart:
Every MoveKit pack (Starter US$199 to Complete US$399, localized by country) or single exercise (US$4.99) is a one-time purchase that includes API access for self-hosting with no monthly fee.
# Without MOVEKIT_API_KEY: pulls the 12 free unwatermarked sample clips into assets/movekit/
# With MOVEKIT_API_KEY in .env.local: pulls every exercise your account owns
npx movekit import --dir assets/movekit- Uncomment the
assets/movekit/catalog.jsonandassets/movekit/assets/lines inpubspec.yaml(or pointlocalBasePathto your own CDN such ashttps://cdn.example.com/movekitfor Paid Pack ZIP files). - Set
activeMediaMode = ExerciseMediaMode.localinlib/main.dart.
Building an AI workout coach or an open-ended exercise picker where bundling hundreds of videos does not fit? Optional MoveKit Hosted streaming starts at US$29/month (25 GB), US$99/month (100 GB), or US$299/month (500 GB) in US list prices, localized by country, and requires a pack or single exercise purchase.
# Requires MOVEKIT_API_KEY and an active MoveKit Hosted add-on
npx movekit sync-hosted --dir assets/movekit- Uncomment
- assets/movekit/catalog.jsoninpubspec.yaml. - Set
activeMediaMode = ExerciseMediaMode.hostedinlib/main.dart.
- MoveKit Developer Docs
- MoveKit Exercise Database on GitHub
- MoveKit Exercise Database on Hugging Face
- MoveKit Exercise Database on Kaggle
- MoveKit TypeScript SDK & CLI (
movekit) - MoveKit Coding Agent Skills & MCP
- MoveKit Expo Starter
- Packs & Licensing
- Starter app code: MIT License.
- Exercise metadata (
movekit-dev/exercise-database): CC BY 4.0 (MoveKit, https://movekit.com). - MoveKit 3D videos, posters, watermarked previews, and coaching cues: Excluded from MIT and CC BY 4.0. See NOTICE and the MoveKit License Agreement.