Unverified Commit e4ad46c8 authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

Remove flutterNext (#79989)

parent b2afbd2f
...@@ -85,15 +85,15 @@ const Feature flutterWebFeature = Feature( ...@@ -85,15 +85,15 @@ const Feature flutterWebFeature = Feature(
), ),
dev: FeatureChannelSetting( dev: FeatureChannelSetting(
available: true, available: true,
enabledByDefault: flutterNext, enabledByDefault: true,
), ),
beta: FeatureChannelSetting( beta: FeatureChannelSetting(
available: true, available: true,
enabledByDefault: flutterNext, enabledByDefault: true,
), ),
stable: FeatureChannelSetting( stable: FeatureChannelSetting(
available: flutterNext, available: true,
enabledByDefault: flutterNext, enabledByDefault: true,
), ),
); );
...@@ -102,8 +102,7 @@ const Feature flutterMacOSDesktopFeature = Feature( ...@@ -102,8 +102,7 @@ const Feature flutterMacOSDesktopFeature = Feature(
name: 'beta-quality support for desktop on macOS', name: 'beta-quality support for desktop on macOS',
configSetting: 'enable-macos-desktop', configSetting: 'enable-macos-desktop',
environmentOverride: 'FLUTTER_MACOS', environmentOverride: 'FLUTTER_MACOS',
extraHelpText: flutterNext ? extraHelpText: 'Newer beta versions are available on the beta channel.',
'Newer beta versions are available on the beta channel.' : null,
master: FeatureChannelSetting( master: FeatureChannelSetting(
available: true, available: true,
enabledByDefault: false, enabledByDefault: false,
...@@ -113,11 +112,11 @@ const Feature flutterMacOSDesktopFeature = Feature( ...@@ -113,11 +112,11 @@ const Feature flutterMacOSDesktopFeature = Feature(
enabledByDefault: false, enabledByDefault: false,
), ),
beta: FeatureChannelSetting( beta: FeatureChannelSetting(
available: flutterNext, available: true,
enabledByDefault: false, enabledByDefault: false,
), ),
stable: FeatureChannelSetting( stable: FeatureChannelSetting(
available: flutterNext, available: true,
enabledByDefault: false, enabledByDefault: false,
), ),
); );
...@@ -127,8 +126,7 @@ const Feature flutterLinuxDesktopFeature = Feature( ...@@ -127,8 +126,7 @@ const Feature flutterLinuxDesktopFeature = Feature(
name: 'beta-quality support for desktop on Linux', name: 'beta-quality support for desktop on Linux',
configSetting: 'enable-linux-desktop', configSetting: 'enable-linux-desktop',
environmentOverride: 'FLUTTER_LINUX', environmentOverride: 'FLUTTER_LINUX',
extraHelpText: flutterNext ? extraHelpText: 'Newer beta versions are available on the beta channel.',
'Newer beta versions are available on the beta channel.' : null,
master: FeatureChannelSetting( master: FeatureChannelSetting(
available: true, available: true,
enabledByDefault: false, enabledByDefault: false,
...@@ -138,11 +136,11 @@ const Feature flutterLinuxDesktopFeature = Feature( ...@@ -138,11 +136,11 @@ const Feature flutterLinuxDesktopFeature = Feature(
enabledByDefault: false, enabledByDefault: false,
), ),
beta: FeatureChannelSetting( beta: FeatureChannelSetting(
available: flutterNext, available: true,
enabledByDefault: false, enabledByDefault: false,
), ),
stable: FeatureChannelSetting( stable: FeatureChannelSetting(
available: flutterNext, available: true,
enabledByDefault: false, enabledByDefault: false,
), ),
); );
...@@ -152,8 +150,7 @@ const Feature flutterWindowsDesktopFeature = Feature( ...@@ -152,8 +150,7 @@ const Feature flutterWindowsDesktopFeature = Feature(
name: 'beta-quality support for desktop on Windows', name: 'beta-quality support for desktop on Windows',
configSetting: 'enable-windows-desktop', configSetting: 'enable-windows-desktop',
environmentOverride: 'FLUTTER_WINDOWS', environmentOverride: 'FLUTTER_WINDOWS',
extraHelpText: flutterNext ? extraHelpText: 'Newer beta versions are available on the beta channel.',
'Newer beta versions are available on the beta channel.' : null,
master: FeatureChannelSetting( master: FeatureChannelSetting(
available: true, available: true,
enabledByDefault: false, enabledByDefault: false,
...@@ -163,11 +160,11 @@ const Feature flutterWindowsDesktopFeature = Feature( ...@@ -163,11 +160,11 @@ const Feature flutterWindowsDesktopFeature = Feature(
enabledByDefault: false, enabledByDefault: false,
), ),
beta: FeatureChannelSetting( beta: FeatureChannelSetting(
available: flutterNext, available: true,
enabledByDefault: false, enabledByDefault: false,
), ),
stable: FeatureChannelSetting( stable: FeatureChannelSetting(
available: flutterNext, available: true,
enabledByDefault: false, enabledByDefault: false,
), ),
); );
...@@ -423,5 +420,3 @@ class FeatureChannelSetting { ...@@ -423,5 +420,3 @@ class FeatureChannelSetting {
/// If not provided, defaults to `false`. /// If not provided, defaults to `false`.
final bool enabledByDefault; final bool enabledByDefault;
} }
const bool flutterNext = true;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment