diff --git a/packages/flutter/lib/src/material/menu_anchor.dart b/packages/flutter/lib/src/material/menu_anchor.dart index 368ad4641825..c959e6684a6f 100644 --- a/packages/flutter/lib/src/material/menu_anchor.dart +++ b/packages/flutter/lib/src/material/menu_anchor.dart @@ -553,9 +553,7 @@ class _MenuAnchorState extends State { } void _closeChildren({bool inDispose = false}) { - // TODO(pquitslund): remove when interpolated `$this` parsing is fixed (https://github.com/dart-lang/sdk/issues/50263) - // ignore: unnecessary_brace_in_string_interps - assert(_debugMenuInfo('Closing children of ${this}${inDispose ? ' (dispose)' : ''}')); + assert(_debugMenuInfo('Closing children of $this${inDispose ? ' (dispose)' : ''}')); for (final _MenuAnchorState child in List<_MenuAnchorState>.from(_anchorChildren)) { child._close(inDispose: inDispose); }