[flutter_tools] add the feature for single widget reloads (#61411)

Implements the flutter config feature for #61407 , but does not implement any of the functionality.
This commit is contained in:
Jonah Williams
2020-07-14 12:24:58 -07:00
committed by GitHub
parent 74f3e6dd63
commit d22d65c6e7
3 changed files with 45 additions and 0 deletions

View File

@@ -724,6 +724,7 @@ class TestFeatureFlags implements FeatureFlags {
this.isMacOSEnabled = false,
this.isWebEnabled = false,
this.isWindowsEnabled = false,
this.isSingleWidgetReloadEnabled = false,
});
@override
@@ -738,6 +739,9 @@ class TestFeatureFlags implements FeatureFlags {
@override
final bool isWindowsEnabled;
@override
final bool isSingleWidgetReloadEnabled;
@override
bool isEnabled(Feature feature) {
switch (feature) {