first commit

This commit is contained in:
2025-03-03 20:59:42 +03:00
commit 273e68557a
1099 changed files with 17880 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
// Flutter imports:
import 'package:flutter/material.dart' show ChangeNotifier;
///
/// Динамические параметры для конфигурирования приложения
///
class AppSettingsNotifier extends ChangeNotifier {
///
/// Динамические параметры для конфигурирования приложения
///
AppSettingsNotifier({
this.debugMode = false,
this.showFps = false,
});
/// Включение дебаг мода
bool debugMode;
/// Отображение FPS
bool showFps;
///
/// Переключение режима "Дебаг"
///
void toggleDebugMode() {
debugMode = !debugMode;
notifyListeners();
}
///
/// Переключение режима "Дебаг"
///
void toggleFps() {
showFps = !showFps;
notifyListeners();
}
}

View File

@@ -0,0 +1,18 @@
// Flutter imports:
import 'package:flutter/foundation.dart';
class CollectionData extends ChangeNotifier {
CollectionData({this.showFAB = true});
/// Флаг показа
bool showFAB;
/// Смена состояния показа Fab на экране коллекции
void showFab(bool show) {
if (showFAB != show) {
showFAB = show;
notifyListeners();
}
}
}