Add flutter_localizations + intl, 12 ARB files (en/ru/es/de/fr/it/pt/zh/ja/ko/ar/hi), replace all hardcoded Russian UI strings with AppLocalizations, detect system locale on first launch, localise bottom nav bar labels, document rule in CLAUDE.md. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
59 lines
901 B
YAML
59 lines
901 B
YAML
name: food_ai
|
|
description: "FoodAI - AI-powered food management"
|
|
publish_to: 'none'
|
|
version: 1.0.0+1
|
|
|
|
environment:
|
|
sdk: ^3.9.2
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
flutter_localizations:
|
|
sdk: flutter
|
|
intl: ^0.20.1
|
|
|
|
cupertino_icons: ^1.0.8
|
|
|
|
# Navigation
|
|
go_router: ^14.0.0
|
|
|
|
# State management
|
|
flutter_riverpod: ^2.5.0
|
|
|
|
# Network
|
|
dio: ^5.4.0
|
|
http: ^1.2.0
|
|
google_fonts: ^6.2.0
|
|
|
|
# Firebase
|
|
firebase_core: ^3.0.0
|
|
firebase_auth: ^5.0.0
|
|
google_sign_in: ^6.2.0
|
|
|
|
# Storage
|
|
flutter_secure_storage: ^9.2.0
|
|
shared_preferences: ^2.3.0
|
|
|
|
# Serialization
|
|
json_annotation: ^4.9.0
|
|
|
|
# UI
|
|
cached_network_image: ^3.3.0
|
|
|
|
# Camera / gallery
|
|
image_picker: ^1.1.0
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
|
|
flutter_lints: ^5.0.0
|
|
json_serializable: ^6.8.0
|
|
build_runner: ^2.4.0
|
|
mockito: ^5.4.0
|
|
|
|
flutter:
|
|
uses-material-design: true
|
|
generate: true
|