We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 154ae0f commit 008ac17Copy full SHA for 008ac17
packages/flutter/lib/src/material/menu_anchor.dart
@@ -553,9 +553,7 @@ class _MenuAnchorState extends State<MenuAnchor> {
553
}
554
555
void _closeChildren({bool inDispose = false}) {
556
- // TODO(pquitslund): remove when interpolated `$this` parsing is fixed (https://github.com/dart-lang/sdk/issues/50263)
557
- // ignore: unnecessary_brace_in_string_interps
558
- assert(_debugMenuInfo('Closing children of ${this}${inDispose ? ' (dispose)' : ''}'));
+ assert(_debugMenuInfo('Closing children of $this${inDispose ? ' (dispose)' : ''}'));
559
for (final _MenuAnchorState child in List<_MenuAnchorState>.from(_anchorChildren)) {
560
child._close(inDispose: inDispose);
561
0 commit comments