How danielcastroperez/app_learning_flutter works
This is a Flutter learning app demonstrating Provider state management and Clean Architecture, with a catalog of Flutter widget examples and a separate widget-data domain. The intended user flow is to browse examples and open a detail view; the README documents Provider registration and the presentation-to-domain-to-data layering. The Dart sources were not excerpted, so detailed calls, screen routing, and the relationship between the catalog and widget data cannot be verified. Native runner nodes reflect indexed platform entry points, not product logic.
Main entry points: repositories_impl.dart Repository implementation · main.dart Flutter app setup · HomeScreen.dart Home screen · widget_provider.dart Widget provider
Components 24
Widget Examples UI
- Flutter app setup
lib/main.dart - Home screen
lib/presentation/screens/HomeScreen.dart - Widget examples
lib/presentation/widget_examples - Widget card
lib/presentation/widgets/WidgetCard.dart - Widget detail
lib/presentation/widgets/WidgetDetailScreen.dart - Code block
lib/presentation/widgets/CodeBlock.dart - Widget provider
lib/presentation/providers/widget_provider.dart
Widget Domain
- Get widget use case
lib/domain/usecases/get_widget.dart - Widget repository contract
lib/domain/repositories/widget_repository.dart - Widget entity
lib/domain/entities/widget_entity.dart
Widget Data
- Repository implementation
lib/data/repositories/repositories_impl.dart - Widget model
lib/data/models/widget_model.dart - Local database
lib/data/datasources/local/app_database.dart - Remote data source
lib/data/datasources/widget_remote_datasource.dart
Platform Runners
- Linux application runner
linux/runner/my_application.h - Linux entry point
linux/runner/main.cc - Windows Flutter window
windows/runner/flutter_window.h - Windows window host
windows/runner/win32_window.h - Windows entry point
windows/runner/main.cpp - iOS app delegate
ios/Runner/AppDelegate.swift - Linux plugin registration
linux/flutter/generated_plugin_registrant.h - macOS plugin registration
macos/Flutter/GeneratedPluginRegistrant.swift - Windows plugin registration
windows/flutter/generated_plugin_registrant.h
Other components
- App user
Connections 19
- App user → Flutter app setup: opens
- Flutter app setup → Widget provider: registers providers
README.md - Flutter app setup → Home screen: starts UI
- Home screen → Widget examples: presents examples
- Home screen → Widget provider: watches state
- Widget examples → Widget card: displays cards
- Widget card → Widget detail: opens detail
- Widget detail → Code block: shows code
- Widget provider → Get widget use case: invokes use case
- Get widget use case → Widget repository contract: uses contract
- Repository implementation → Widget repository contract: implements
README.md - Repository implementation → Widget model: maps data
- Repository implementation → Local database: uses local source
- Repository implementation → Remote data source: uses remote source
- Repository implementation → Widget entity: returns domain data
- Linux entry point → Linux application runner: starts application
linux/runner/main.cc - Windows entry point → Windows Flutter window: creates window
windows/runner/main.cpp - Windows Flutter window → Windows window host: extends host
windows/runner/flutter_window.h - iOS app delegate → macOS plugin registration: registers plugins
ios/Runner/AppDelegate.swift