Implemented Navigation to these screens:

- Home
- Scene
- Smart
- profile

Converted to state based Provider
This commit is contained in:
Mohammad Salameh
2024-02-14 15:49:06 +03:00
parent 3f1f8e72b3
commit 4d8a2655e1
22 changed files with 146 additions and 116 deletions
@@ -1,18 +0,0 @@
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import '../provider/profile_provider.dart';
class ProfileView extends StatelessWidget {
const ProfileView({super.key});
@override
Widget build(BuildContext context) {
return ChangeNotifierProvider(
create: (BuildContext context) => ProfileProvider(),
builder: (context, child) => const Center(
child: Text('Profile'),
),
);
}
}