Flutter Structure¶
Last reviewed: March 14, 2026
Repository location¶
mobile/befam
Main folders¶
lib/
app/
bootstrap/
home/
models/
theme/
core/
services/
features/
auth/
clan/
genealogy/
member/
notifications/
relationship/
l10n/
generated/
test/
Structure conventions¶
- feature modules own their models, services, and presentation files
- repository interfaces live with features and can swap Firebase/debug backends
- app-level shell and bootstrap logic stay in
app/ - Firebase service wrappers and runtime toggles stay in
core/services
Generated and tooling files¶
- localization output:
lib/l10n/generated/* - freezed/json output:
*.freezed.dartand*.g.dart - generation commands:
flutter gen-l10ndart run build_runner build --delete-conflicting-outputs