
Personnaliser
Documentation
Assets
Sound effects, animation files and image assets are declared centrally in one Dart file so you don't have to search the codebase to find them.
Where they live
lib/src/utils/assets_utils.dart
Every asset the app loads at runtime — SFX, Rive animations, static illustrations — is referenced from constants declared here. Swap the constant, drop the new file into assets/, and the app picks it up.
Sound effects
Drop your .mp3 or .wav files into:
assets/sfx/Then point the SFX constants in assets_utils.dart at your new filenames.
After adding files
Flutter needs to know about new asset paths. Confirm your file is covered by the assets: list in pubspec.yaml — the shipped pubspec.yaml already covers the assets/ root recursively, so simply dropping a file into a covered subfolder is enough. If you add a brand-new subfolder, add it to pubspec.yaml and run:
flutter pub get