Files
unionflow-mobile-apps/lib/features/profile/presentation/pages/profile_page_wrapper.dart
dahoud d094d6db9c Initial commit: unionflow-mobile-apps
Application Flutter complète (sans build artifacts).

Signed-off-by: lions dev Team
2026-03-15 16:30:08 +00:00

21 lines
566 B
Dart

library profile_page_wrapper;
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import '../../../../core/di/injection_container.dart';
import '../bloc/profile_bloc.dart';
import 'profile_page.dart';
/// Wrapper qui fournit le ProfileBloc à la ProfilePage
class ProfilePageWrapper extends StatelessWidget {
const ProfilePageWrapper({super.key});
@override
Widget build(BuildContext context) {
return BlocProvider<ProfileBloc>(
create: (_) => sl<ProfileBloc>(),
child: const ProfilePage(),
);
}
}