2026-10-16 22:42:17 +08:00
|
|
|
/// Build-time switches for features whose code stays either way, each
|
|
|
|
|
/// defaulting to how it ships. A disabled feature with a setting hides it and
|
|
|
|
|
/// ignores the stored value, so switching it back on restores what the user
|
|
|
|
|
/// had chosen.
|
2026-09-25 03:56:56 +08:00
|
|
|
class Feature {
|
|
|
|
|
const Feature({
|
|
|
|
|
this.sidebarBlur = const bool.fromEnvironment('FEATURE_SIDEBAR_BLUR'),
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
final bool sidebarBlur;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Feature feature = const Feature();
|