You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(config): make EnvironmentConfig runtime-overridable
Convert EnvironmentConfig's compile-time *.fromEnvironment constants into
getters that resolve `runtime override ?? compile-time default`, and add
applyOverrides/clearOverrides/hasOverride. This lets an embedder (e.g. the theme
configurator's realtime preview) inject the whole dart-define set at runtime.
Standalone builds are byte-identical - no overrides are ever applied. The
*__NAME key constants stay const.
Nullable `bool.hasEnvironment(X) ? String.fromEnvironment(X) : null` fallbacks
move to `static const _*_ENV` fields, since hasEnvironment can only be used in a
const context.
Members become getters, so const-context usages are adjusted (const -> final /
drop const): main_shell.dart polling Durations, feature_access.dart
CallTriggerConfig, logzio_logging_service.dart, autoprovision, push_tokens,
several screen-page titles, and the screenshots subpackage (router + test +
main_screen_screenshot).
0 commit comments