mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-27 19:34:54 +00:00
22 lines
567 B
Dart
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'),
|
|
);
|
|
},
|
|
),
|
|
);
|
|
}
|
|
}
|