mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-27 02:37:55 +00:00
Implemented Navigation
This commit is contained in:
@@ -10,13 +10,9 @@ class ProfileView extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return ChangeNotifierProvider(
|
||||
create: (BuildContext context) => ProfileProvider(),
|
||||
builder: (context, child) => _buildPage(context),
|
||||
builder: (context, child) => const Center(
|
||||
child: Text('Profile'),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildPage(BuildContext context) {
|
||||
final provider = context.read<ProfileProvider>();
|
||||
|
||||
return Container();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user