h4-projekt-gruppe-0-sm/mobile/lib/repos/bottom_navigation_bar.dart
2025-01-29 09:01:47 +01:00

11 lines
205 B
Dart

import 'package:flutter/material.dart';
class BottomNavigationBarRepo extends ChangeNotifier {
int currentIndex = 0;
void setIndex(int index) {
currentIndex = index;
notifyListeners();
}
}