Add variables for the Open Weather config rather than holding it in the min file.

This commit is contained in:
Hyperling 2025-04-25 15:59:02 -07:00
parent 4483c1ebb0
commit c2995dac6d

View File

@ -1,5 +1,15 @@
// This file needs renamed `local.dart` when implemented.
// Basic
// Project-wide configuration variables for both testing and production.
const bool debug = false;
const bool debug = true;
const bool debugVerbose = false;
const int limitRefreshSeconds = 60;
// OpenWeather Constants
// Settings for how to use the OpenWeather API.
const String openWeatherProtocol = "https://";
const String openWeatherHost = "api.openweathermap.org";
const String openWeatherURI = "/data/2.5/forecast";
const String openWeatherAPI =
"$openWeatherProtocol$openWeatherHost$openWeatherURI";