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
-18
View File
@@ -1,18 +0,0 @@
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import '../provider/smart_provider.dart';
class SmartView extends StatelessWidget {
const SmartView({super.key});
@override
Widget build(BuildContext context) {
return ChangeNotifierProvider(
create: (BuildContext context) => SmartProvider(),
builder: (context, child) => const Center(
child: Text('Smart'),
),
);
}
}