mirror of
https://github.com/flutter/flutter
synced 2024-10-04 07:19:46 +00:00
remove unnecessary brace in string interpolation (#115032)
This commit is contained in:
parent
154ae0f11b
commit
008ac174f9
|
@ -553,9 +553,7 @@ class _MenuAnchorState extends State<MenuAnchor> {
|
||||||
}
|
}
|
||||||
|
|
||||||
void _closeChildren({bool inDispose = false}) {
|
void _closeChildren({bool inDispose = false}) {
|
||||||
// TODO(pquitslund): remove when interpolated `$this` parsing is fixed (https://github.com/dart-lang/sdk/issues/50263)
|
assert(_debugMenuInfo('Closing children of $this${inDispose ? ' (dispose)' : ''}'));
|
||||||
// ignore: unnecessary_brace_in_string_interps
|
|
||||||
assert(_debugMenuInfo('Closing children of ${this}${inDispose ? ' (dispose)' : ''}'));
|
|
||||||
for (final _MenuAnchorState child in List<_MenuAnchorState>.from(_anchorChildren)) {
|
for (final _MenuAnchorState child in List<_MenuAnchorState>.from(_anchorChildren)) {
|
||||||
child._close(inDispose: inDispose);
|
child._close(inDispose: inDispose);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue