Implemented Navigation

This commit is contained in:
Mohammad Salameh
2024-02-14 13:26:09 +03:00
parent 2707124a10
commit 3f1f8e72b3
13 changed files with 191 additions and 75 deletions
+3 -7
View File
@@ -10,13 +10,9 @@ class SmartView extends StatelessWidget {
Widget build(BuildContext context) {
return ChangeNotifierProvider(
create: (BuildContext context) => SmartProvider(),
builder: (context, child) => _buildPage(context),
builder: (context, child) => const Center(
child: Text('Smart'),
),
);
}
Widget _buildPage(BuildContext context) {
final provider = context.read<SmartProvider>();
return Container();
}
}