CreatedHomeHomeScreen

This commit is contained in:
Jonas Braus
2024-11-25 00:58:39 +01:00
parent 431efb359c
commit b480768a98
5 changed files with 370 additions and 220 deletions
+17
View File
@@ -0,0 +1,17 @@
import 'package:flutter/cupertino.dart';
import 'package:mensaapp/spaces/spaceHome.dart';
import 'package:mensaapp/spaces/spaceRate.dart';
class SpaceProvider extends ChangeNotifier {
var selectedSpace = 0;
var spaces = [
const SpaceHome(),
const SpaceRate()
];
void setSelectedSpace(int index) {
selectedSpace = index;
notifyListeners();
}
}