eagletracker/lib/config.dart
2024-07-08 23:03:37 +02:00

21 lines
470 B
Dart

/*
* Singleton class for configuration
*/
import 'package:flutter/foundation.dart';
class Config {
static final Config _instance = Config._internal();
Config._internal();
factory Config() {
return _instance;
}
String projectName = 'Eagle Tr@cker';
bool debug = kDebugMode; // Set to true to enable debug logs
int manufacturerId = 49406; // Manufacturer ID setted in arduino code
int defaultTimeCapture = 10; // Default time capture in seconds
}