How yvesdylane/worldtime-app works
World Time is a Flutter app for choosing a city and viewing its current local time and day/night state. The documented user flow runs from app navigation through a loading screen to time retrieval and display; users can return to location selection to update the displayed city. The README describes these capabilities, while the sampled source primarily covers native desktop launch code, so the app-flow edges cite the README and the platform-shell connections cite only visible imports or calls.
Main entry points: loading.dart Loading screen · main.dart App entry · world_time.dart Time service · home.dart Time display
Components 15
App workflow
- App entry
lib/main.dart - Loading screen
lib/pages/loading.dart - Time service
lib/services/world_time.dart - Time display
lib/pages/home.dart - Location choices
lib/pages/choice_location.dart
Platform hosts
- Linux host
linux/my_application.cc - Linux plugin registry
linux/flutter/generated_plugin_registrant.h - Windows entry
windows/runner/main.cpp - Windows Flutter window
windows/runner/flutter_window.cpp - Windows window base
windows/runner/win32_window.cpp - Windows plugin registry
windows/flutter/generated_plugin_registrant.h - iOS host
ios/Runner/AppDelegate.swift - macOS plugin registry
macos/Flutter/GeneratedPluginRegistrant.swift
Other components
- User
- Time API
Connections 12
- User → App entry: opens app
README.md - App entry → Loading screen: routes to
README.md - Loading screen → Time service: fetches time
README.md - Time service → Time API: requests time
README.md - Time service → Loading screen: returns time
README.md - App entry → Time display: routes to
README.md - Time display → Location choices: offers update
README.md - Location choices → Loading screen: updates location
README.md - Linux host → Linux plugin registry: registers plugins
linux/my_application.cc - Windows entry → Windows Flutter window: creates window
windows/runner/main.cpp - Windows Flutter window → Windows window base: extends window
- iOS host → macOS plugin registry: imports registrant
ios/Runner/AppDelegate.swift