mucke/lib/presentation/state/navigation_store.dart
Moritz Weber 4139ab801d ui tweaks
2020-12-08 22:22:31 +01:00

18 lines
No EOL
335 B
Dart

import 'package:mobx/mobx.dart';
part 'navigation_store.g.dart';
class NavigationStore extends _NavigationStore with _$NavigationStore {
NavigationStore() : super();
}
abstract class _NavigationStore with Store {
_NavigationStore();
@observable int navIndex = 0;
@action
void setNavIndex(int i) {
navIndex = i;
}
}