How chitraarasu/flutter-food-app works
FoodApp is a Flutter meal-browsing app. Its likely user journey is to browse categories, open a category’s meals, inspect meal details, and use favorites and filters; the README also highlights tab navigation and a custom drawer. Dart implementation files were not excerpted, so those screen-to-screen and data relationships are shown as unverified rather than asserted. The sampled Windows files document the desktop host; they do not reveal the Dart app’s internal wiring.
Main entry points: categories_screen.dart Categories · category_meals_screen.dart Category meals · tabs_screen.dart Tabs · flutter_window.cpp Flutter window
Components 20
Meal browsing
- FoodApp entry
lib/main.dart - Categories
lib/screens/categories_screen.dart - Category meals
lib/screens/category_meals_screen.dart - Meal details
lib/screens/meal_detail_screen.dart - Category item
lib/widgets/category_item.dart - Meal item
lib/widgets/meal_item.dart
Navigation and preferences
- Tabs
lib/screens/tabs_screen.dart - Main drawer
lib/widgets/main_drawer.dart - Favorites
lib/screens/favorites_screen.dart - Meal filters
lib/screens/filters_screen.dart
Meal data
- Meal model
lib/models/meal.dart - Category model
lib/models/category.dart - Sample data
lib/dummy_data.dart
Windows host
- Windows entry
windows/runner/main.cpp - Flutter window
windows/runner/flutter_window.cpp - Win32 window
windows/runner/win32_window.cpp - Window interface
windows/runner/win32_window.h - Flutter window interface
windows/runner/flutter_window.h - Plugin registrant
windows/flutter/generated_plugin_registrant.h
Other components
- User
Connections 23
- User → FoodApp entry: opens
- FoodApp entry → Tabs: starts
- Tabs → Categories: shows
- Categories → Category item: renders
- Categories → Category meals: opens
- Category meals → Meal item: renders
- Category meals → Meal details: opens
- Tabs → Favorites: shows
- Tabs → Main drawer: shows
- Main drawer → Meal filters: opens
- Categories → Sample data: uses
- Category meals → Sample data: uses
- Favorites → Meal model: uses
- Meal filters → Meal model: filters
- Meal details → Meal model: uses
- Category item → Category model: uses
- Meal item → Meal model: uses
- Windows entry → Flutter window: creates
windows/runner/main.cpp - Windows entry → Win32 window: configures
windows/runner/main.cpp - Flutter window → Win32 window: extends
- Flutter window → Plugin registrant: registers plugins
windows/runner/flutter_window.cpp - Flutter window → Flutter window interface: implements
windows/runner/flutter_window.cpp - Win32 window → Window interface: implements
windows/runner/win32_window.cpp