Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
008ac174
Unverified
Commit
008ac174
authored
Nov 10, 2022
by
Phil Quitslund
Committed by
GitHub
Nov 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unnecessary brace in string interpolation (#115032)
parent
154ae0f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
menu_anchor.dart
packages/flutter/lib/src/material/menu_anchor.dart
+1
-3
No files found.
packages/flutter/lib/src/material/menu_anchor.dart
View file @
008ac174
...
...
@@ -553,9 +553,7 @@ class _MenuAnchorState extends State<MenuAnchor> {
}
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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment