## Corrections Critiques ### Race Condition - Statuts de Messages - Fix : Les icônes de statut (✓, ✓✓, ✓✓ bleu) ne s'affichaient pas - Cause : WebSocket delivery confirmations arrivaient avant messages locaux - Solution : Pattern Optimistic UI dans chat_bloc.dart - Création message temporaire immédiate - Ajout à la liste AVANT requête HTTP - Remplacement par message serveur à la réponse - Fichier : lib/presentation/state_management/chat_bloc.dart ## Implémentation TODOs (13/21) ### Social (social_header_widget.dart) - ✅ Copier lien du post dans presse-papiers - ✅ Partage natif via Share.share() - ✅ Dialogue de signalement avec 5 raisons ### Partage (share_post_dialog.dart) - ✅ Interface sélection d'amis avec checkboxes - ✅ Partage externe via Share API ### Média (media_upload_service.dart) - ✅ Parsing JSON réponse backend - ✅ Méthode deleteMedia() pour suppression - ✅ Génération miniature vidéo ### Posts (create_post_dialog.dart, edit_post_dialog.dart) - ✅ Extraction URL depuis uploads - ✅ Documentation chargement médias ### Chat (conversations_screen.dart) - ✅ Navigation vers notifications - ✅ ConversationSearchDelegate pour recherche ## Nouveaux Fichiers ### Configuration - build-prod.ps1 : Script build production avec dart-define - lib/core/constants/env_config.dart : Gestion environnements ### Documentation - TODOS_IMPLEMENTED.md : Documentation complète TODOs ## Améliorations ### Architecture - Refactoring injection de dépendances - Amélioration routing et navigation - Optimisation providers (UserProvider, FriendsProvider) ### UI/UX - Amélioration thème et couleurs - Optimisation animations - Meilleure gestion erreurs ### Services - Configuration API avec env_config - Amélioration datasources (events, users) - Optimisation modèles de données
130 lines
3.2 KiB
YAML
130 lines
3.2 KiB
YAML
name: afterwork
|
|
description: "A new Flutter project."
|
|
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|
|
|
version: 1.0.0+1
|
|
|
|
environment:
|
|
sdk: ^3.5.1
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
|
|
# UI & Core
|
|
cupertino_icons: ^1.0.8
|
|
|
|
# State Management
|
|
flutter_bloc: ^8.1.6
|
|
provider: ^6.1.2
|
|
equatable: ^2.0.5
|
|
|
|
# Dependency Injection
|
|
get_it: ^7.7.0
|
|
|
|
# Networking
|
|
http: ^1.2.1
|
|
web_socket_channel: ^3.0.1
|
|
|
|
# Storage & Persistence
|
|
shared_preferences: ^2.2.3
|
|
flutter_secure_storage: ^10.0.0
|
|
path_provider: ^2.1.3
|
|
|
|
# Media & Camera
|
|
image_picker: ^1.1.2
|
|
# camerawesome: ^2.1.0 # Incompatible avec Flutter 3.24.3
|
|
video_player: ^2.9.5
|
|
carousel_slider: ^5.0.0
|
|
|
|
# Maps & Location
|
|
google_maps_flutter: ^2.7.0
|
|
permission_handler: ^11.3.1
|
|
|
|
# Security & Encryption
|
|
encrypt: ^5.0.3
|
|
flutter_bcrypt: ^1.0.8
|
|
|
|
# UI Components & Animations
|
|
# flutter_spinkit: ^5.2.1 # Incompatible avec Flutter 3.24.3
|
|
flutter_vibrate: ^1.3.0
|
|
loading_icon_button: ^0.0.6
|
|
|
|
# Utilities
|
|
intl: ^0.19.0
|
|
fluttertoast: ^8.2.6
|
|
logger: ^2.3.0
|
|
|
|
# Functional Programming
|
|
dartz: ^0.10.1
|
|
flutter_image_compress: ^2.4.0
|
|
|
|
dependency_overrides:
|
|
# Résout les conflits de dépendances transitives
|
|
rxdart: ^0.28.0
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
flutter_launcher_icons: ^0.14.1
|
|
flutter_lints: ^4.0.0
|
|
bloc_test: ^9.1.7
|
|
mocktail: ^1.0.4
|
|
|
|
flutter_icons:
|
|
android: true
|
|
ios: true
|
|
image_path: "lib/assets/images/app_icon.png"
|
|
|
|
flutter:
|
|
uses-material-design: true
|
|
|
|
assets:
|
|
- lib/assets/images/logo.png
|
|
- lib/assets/images/logolionsdev.png
|
|
- lib/assets/images/logoaw.png
|
|
- lib/assets/images/background.webp
|
|
- lib/assets/images/profile_picture.png
|
|
- lib/assets/images/placeholder.png
|
|
- lib/assets/json/event_categories.json
|
|
- lib/assets/images/friend_placeholder.png
|
|
- lib/assets/images/group_placeholder.png
|
|
- lib/assets/images/event_placeholder.png
|
|
- lib/assets/images/activity_placeholder.png
|
|
- lib/assets/images/story_placeholder.png
|
|
- lib/assets/images/user_placeholder.png
|
|
- lib/assets/videos/test.mp4
|
|
- lib/assets/images/default_avatar.png
|
|
|
|
fonts:
|
|
- family: Montserrat
|
|
fonts:
|
|
- asset: lib/assets/fonts/montserrat_regular.ttf
|
|
- asset: lib/assets/fonts/montserrat_bold.ttf
|
|
weight: 700
|
|
|
|
|
|
# To add assets to your application, add an assets section, like this:
|
|
# assets:
|
|
# - images/a_dot_burr.jpeg
|
|
# - images/a_dot_ham.jpeg
|
|
|
|
# To add custom fonts to your application, add a fonts section here,
|
|
# in this "flutter" section. Each entry in this list should have a
|
|
# "family" key with the font family name, and a "fonts" key with a
|
|
# list giving the asset and other descriptors for the font. For example:
|
|
# fonts:
|
|
# - family: Schyler
|
|
# fonts:
|
|
# - asset: fonts/Schyler-Regular.ttf
|
|
# - asset: fonts/Schyler-Italic.ttf
|
|
# style: italic
|
|
# - family: Trajan Pro
|
|
# fonts:
|
|
# - asset: fonts/TrajanPro.ttf
|
|
# - asset: fonts/TrajanPro_Bold.ttf
|
|
# weight: 700
|
|
#
|
|
# For details regarding fonts from package dependencies,
|
|
# see https://flutter.dev/to/font-from-package
|