1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

Add unawaited_futures (#1148)

This commit is contained in:
Brett Morgan
2022-04-27 09:24:19 +10:00
committed by GitHub
parent 802026f4ea
commit f998c9577e
12 changed files with 26 additions and 23 deletions

View File

@@ -139,7 +139,7 @@ class _LintExpansionTileState extends State<LintExpansionTile> {
},
);
if (destinationProfileType == ProfileType.newProfile) {
showDialog<String>(
await showDialog<String>(
context: context,
builder: (context) {
return _NewProfileDialog(rule: rule);
@@ -147,7 +147,7 @@ class _LintExpansionTileState extends State<LintExpansionTile> {
);
} else if (destinationProfileType ==
ProfileType.existingProfile) {
showDialog<String>(
await showDialog<String>(
context: context,
builder: (context) {
return _ExistingProfileDialog(rule: rule);