Merge branch 'main' into 'language_translation'
# Conflicts: # lib/main.dart
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user