Térkép refraktorálás
This commit is contained in:
@@ -4,6 +4,7 @@ class ShellController extends GetxController {
|
||||
static ShellController get to => Get.find();
|
||||
|
||||
final currentIndex = 0.obs;
|
||||
final isNavBarVisible = true.obs;
|
||||
|
||||
static const titles = [
|
||||
'Térkép',
|
||||
@@ -24,4 +25,8 @@ class ShellController extends GetxController {
|
||||
void goToSurvey() => goToTab(1);
|
||||
void goToTracking() => goToTab(2);
|
||||
void goToData() => goToTab(3);
|
||||
|
||||
void showNavBar() => isNavBarVisible.value = true;
|
||||
void hideNavBar() => isNavBarVisible.value = false;
|
||||
void toggleNavBar() => isNavBarVisible.value = !isNavBarVisible.value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user