How lewenbach/gestion-hotel works
Project type and purpose
• This is a multi-platform Flutter application (“Gestion-Hotel”) for managing hotel clients, displaying services, viewing client history, and selling products.
• It targets Android, iOS and Web via a single Dart/Flutter codebase, with platform folders (android/, ios/, web/) plus shared assets.
File structure
• Top-level:
• android/, ios/, web/ – platform runners & configs
• assets/ – fonts & images
• lib/ – the entire Dart application
• pubspec.yaml/.lock – dependencies
• test/ – widget tests
• lib/ substructure:
• Pages/ – UI screens (categoryRoom, room_free/busy, services, historique, sales)
• models/ – data definitions (CategoryRoom, RoomList, Services, VenteModel)
• providers/ – state-management classes (ClientProvider, VenteCartProvider) using Provider
• data_room.dart & constants.dart – static/data sources and constants
• routes.dart – app navigation
• theme.dart – app styling
• main.dart – app entry point
README
• Confirms the goal: client management, service presentation, client history, and sales.
• No backend code; this is a standalone front-end that may store data locally or call external APIs.
Elements
• Related components (Pages in one container, Widgets in another)