Files
syncrow-app/lib/features/profile/view/profile_view.dart
T
Mohammad Salameh 1d18210158 restructured the application
added .end files
switched to BLoC state-management
removed unnecessary helpers
initialized Scenes Page
2024-02-15 14:00:09 +03:00

22 lines
567 B
Dart

import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:syncrow_app/features/profile/bloc/profile_cubit.dart';
class ProfileView extends StatelessWidget {
const ProfileView({super.key});
@override
Widget build(BuildContext context) {
return BlocProvider(
create: (context) => ProfileCubit(),
child: BlocBuilder<ProfileCubit, ProfileState>(
builder: (context, state) {
return const Center(
child: Text('Profile Page'),
);
},
),
);
}
}