Change the message for FLUTTER_REMOVE_WIDGET.
R=brianwilkerson@google.com
Bug: https://github.com/Dart-Code/Dart-Code/issues/1647
Change-Id: I6061e3432c267dad550e57789aea522cc8fb2d87
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/101006
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
diff --git a/pkg/analysis_server/lib/src/services/correction/assist.dart b/pkg/analysis_server/lib/src/services/correction/assist.dart
index b16b95c..50ac2ac 100644
--- a/pkg/analysis_server/lib/src/services/correction/assist.dart
+++ b/pkg/analysis_server/lib/src/services/correction/assist.dart
@@ -148,8 +148,10 @@
const AssistKind('dart.assist.flutter.move.down', 30, "Move widget down");
static const FLUTTER_MOVE_UP =
const AssistKind('dart.assist.flutter.move.up', 30, "Move widget up");
- static const FLUTTER_REMOVE_WIDGET =
- const AssistKind('dart.assist.flutter.removeWidget', 30, "Remove widget");
+ static const FLUTTER_REMOVE_WIDGET = const AssistKind(
+ 'dart.assist.flutter.removeWidget',
+ 30,
+ "Replace widget with its children");
static const FLUTTER_SWAP_WITH_CHILD = const AssistKind(
'dart.assist.flutter.swap.withChild', 30, "Swap with child");
static const FLUTTER_SWAP_WITH_PARENT = const AssistKind(