feat: Add User and UserBalance models with serialization methods

feat: Implement BalanceRepository for group balance calculations

feat: Create ExpenseRepository for managing expenses

feat: Add services for handling expenses and storage operations

fix: Update import paths for models in repositories and services

refactor: Rename CountContent to AccountContent in HomePage

chore: Add StorageService for image upload and management
This commit is contained in:
Dayron
2025-10-21 16:02:58 +02:00
parent 62eb434548
commit 4edbd1cf34
60 changed files with 1973 additions and 342 deletions

View File

@@ -4,7 +4,7 @@ import 'package:travel_mate/services/error_service.dart';
import 'group_event.dart';
import 'group_state.dart';
import '../../repositories/group_repository.dart';
import '../../data/models/group.dart';
import '../../models/group.dart';
class GroupBloc extends Bloc<GroupEvent, GroupState> {
final GroupRepository _repository;

View File

@@ -1,6 +1,6 @@
import 'package:equatable/equatable.dart';
import '../../data/models/group.dart';
import '../../data/models/group_member.dart';
import '../../models/group.dart';
import '../../models/group_member.dart';
abstract class GroupEvent extends Equatable {
const GroupEvent();

View File

@@ -1,5 +1,5 @@
import 'package:equatable/equatable.dart';
import '../../data/models/group.dart';
import '../../models/group.dart';
abstract class GroupState extends Equatable {
const GroupState();