fix: removed .then() handler

This commit is contained in:
Chirag Bargoojar 2022-08-11 15:57:55 +05:30 committed by GitHub
parent f4fa185976
commit 96cdb82ca4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,11 +21,8 @@ extension IntoDialog on Widget {
child: this,
),
context,
).then(
(value) {
dialogFocusNode.dispose();
},
);
dialogFocusNode.dispose();
}
}