File tree Expand file tree Collapse file tree 4 files changed +1
-16
lines changed
standalone_ui/ide_shared/property_editor
standalone_ui/ide_shared/property_editor Expand file tree Collapse file tree 4 files changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -85,14 +85,6 @@ extension FeatureFlags on Never {
8585 enabled: true ,
8686 );
8787
88- /// Flag to enable refactors in the Flutter Property Editor sidebar.
89- ///
90- /// https://github.com/flutter/devtools/issues/9214
91- static final propertyEditorRefactors = BooleanFeatureFlag (
92- name: 'propertyEditorRefactors' ,
93- enabled: true ,
94- );
95-
9688 /// A set of all the boolean feature flags for debugging purposes.
9789 ///
9890 /// When adding a new boolean flag, you are responsible for adding it to this
@@ -103,7 +95,6 @@ extension FeatureFlags on Never {
10395 devToolsExtensions,
10496 dapDebugging,
10597 inspectorV2,
106- propertyEditorRefactors,
10798 };
10899
109100 /// A set of all the Flutter channel feature flags for debugging purposes.
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import '../../../shared/analytics/analytics.dart' as ga;
1111import '../../../shared/analytics/constants.dart' as gac;
1212import '../../../shared/editor/api_classes.dart' ;
1313import '../../../shared/editor/editor_client.dart' ;
14- import '../../../shared/feature_flags.dart' ;
1514import '../../../shared/ui/filter.dart' ;
1615import '../../../shared/utils/utils.dart' ;
1716import 'property_editor_types.dart' ;
@@ -223,8 +222,7 @@ class PropertyEditorController extends DisposableController
223222 CodeActionResult ? refactorsResult;
224223 // TODO(https://github.com/flutter/devtools/issues/8652): Enable refactors
225224 // in the Property Editor by default.
226- if (editableArgsResult != null &&
227- FeatureFlags .propertyEditorRefactors.isEnabled) {
225+ if (editableArgsResult != null ) {
228226 // Fetch the refactors using the start of the editable arguments' range,
229227 // which corresponds to the widget constructor name. This ensures that the
230228 // refactors are always available, even when the cursor is within the
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ void main() {
2121 expect (FeatureFlags .devToolsExtensions.isEnabled, isExternalBuild);
2222 expect (FeatureFlags .dapDebugging.isEnabled, false );
2323 expect (FeatureFlags .inspectorV2.isEnabled, true );
24- expect (FeatureFlags .propertyEditorRefactors.isEnabled, true );
2524 });
2625
2726 group ('FlutterChannelFeatureFlag' , () {
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ import 'dart:ui';
99import 'package:devtools_app/devtools_app.dart' ;
1010import 'package:devtools_app/src/shared/analytics/constants.dart' as gac;
1111import 'package:devtools_app/src/shared/editor/api_classes.dart' ;
12- import 'package:devtools_app/src/shared/feature_flags.dart' ;
1312import 'package:devtools_app/src/standalone_ui/ide_shared/property_editor/property_editor_controller.dart' ;
1413import 'package:devtools_app/src/standalone_ui/ide_shared/property_editor/property_editor_refactors.dart' ;
1514import 'package:devtools_app/src/standalone_ui/ide_shared/property_editor/property_editor_types.dart' ;
@@ -927,8 +926,6 @@ void main() {
927926 );
928927
929928 setUp (() {
930- FeatureFlags .propertyEditorRefactors.setEnabledForTests (true );
931-
932929 refactorCount = 0 ;
933930 when (
934931 // ignore: discarded_futures, for mocking purposes.
You can’t perform that action at this time.
0 commit comments