Merge branch 'main' into 'language_translation'

# Conflicts:
#   lib/main.dart
This commit is contained in:
Jonas Braus
2024-11-25 13:23:58 +00:00
5 changed files with 366 additions and 42 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();
}
}