AFTERGLOW
Cinema ticket app in Flutter
A cinema ticket app. Pick a showtime, choose seats on a live hall map and keep the ticket on your phone.
- Stack
- Flutter 3.47, Riverpod, go_router
- Runs on
- iOS and Android
- Screens
- 6, plus launch and splash
- Tests
- 33 passing, 0 analyzer issues
- Code
- 74 Dart files
The film images and logos in the reel are demo content and do not come with the code.
Read the code
Real AFTERGLOW code, straight from the app.
seats/presentation/hall_timeline.dart
final class HallTimeline { const HallTimeline(this.seconds); static const duration = 2.0; static const _struckAt = 0.22; static const _chosenAt = 1.32; final double seconds; /// Brightness of the cinema screen. double get screen => seconds < _struckAt ? 0.1 : mix(0.1, 1, ProjectorFlicker.at(seconds - _struckAt)); double get spill => Ease.outCubic(progress(seconds, 0.4, 1.1));AFTERGLOW
$10.99