ba15c313b4
Changelog: Optional two-tier Liquid Glass and slide-to-pick menus
14 lines
423 B
Dart
14 lines
423 B
Dart
/// 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.
|
|
class Feature {
|
|
const Feature({
|
|
this.sidebarBlur = const bool.fromEnvironment('FEATURE_SIDEBAR_BLUR'),
|
|
});
|
|
|
|
final bool sidebarBlur;
|
|
}
|
|
|
|
Feature feature = const Feature();
|