bruno

0
0
0
Dart
public

🎁 Bruno’s Birthday Surprise

A Flutter app made with love. Flow: tap the gift → countdown to July 23 → blow out the candles → love letter → 7 reasons → photo gallery → grand finale with floating hearts.

1. Set up (one time)

You need the Flutter SDK installed. Then, in this folder:

flutter create . --platforms=android,ios
flutter pub get

(flutter create . generates the android/ios scaffolding around the existing code — it won’t overwrite lib/main.dart content if prompted, but it’s safe either way since your code is committed here.)

2. Personalize — everything is at the top of lib/main.dart

  • Photos: paste direct image links into photoUrls, captions into photoCaptions.
    • ✅ Works: Imgur, Postimages, Dropbox (?raw=1), Google Drive via https://drive.google.com/uc?export=view&id=FILE_ID (file must be shared “Anyone with the link”)
    • ❌ Doesn’t work: Google Photos share links (Google blocks embedding)
  • Music: paste a direct .mp3 link into musicUrl (e.g. upload “Ordinary” to Dropbox/Drive). Leave '' for silence.
  • Love letter & reasons: edit loveLetter and reasons to make them yours.

3. Test it

flutter run

Secret for you: on the countdown screen, long-press the ❤️ to skip ahead and preview everything.

4. Put it on Bruno’s phone

Android:

flutter build apk --release

The APK is at build/app/outputs/flutter-apk/app-release.apk. Send it to his phone (WhatsApp/Drive), tap to install (he may need to allow “install from unknown sources”).

iPhone: requires a Mac + Xcode: flutter run --release with his phone plugged in, or use TestFlight.

💡 Photos and music load from the internet, so his phone needs a connection the first time.

v0.3.3[beta]