Add var for number of seconds between data refreshes. Rename locals file to config and also end example files in .dart.

This commit is contained in:
Hyperling 2025-04-25 08:39:56 -07:00
parent 7a48d137e0
commit 54ae255e9e
4 changed files with 9 additions and 6 deletions

5
.gitignore vendored
View File

@ -244,7 +244,8 @@ app.*.map.json
/android/app/release
# Do not post secrets!
secrets.dart
lib/var/secrets.dart
# Keep locals local.
locals.dart
lib/var/local.dart
lib/var/config.dart

View File

@ -0,0 +1,5 @@
// This file needs renamed `local.dart` when implemented.
// Project-wide configuration variables for both testing and production.
const bool debug = false;
const int limitRefreshSeconds = 60;

View File

@ -1,3 +0,0 @@
// This file needs renamed `local.dart` if implemented.
const bool debug = false;

View File

@ -1,3 +1,3 @@
// This file needs renamed `secrets.dart` and filled out properly if implemented.
final openWeatherKey = "abc123";
final String openWeatherKey = "abc123";