refactor: Enable lint use_build_context_synchronously
This commit is contained in:
parent
a3fc1bff01
commit
3296c0d92d
50 changed files with 490 additions and 293 deletions
|
|
@ -146,6 +146,7 @@ class SendFileDialogState extends State<SendFileDialog> {
|
|||
scaffoldMessenger.clearSnackBars();
|
||||
} catch (e) {
|
||||
scaffoldMessenger.clearSnackBars();
|
||||
if (!mounted || !widget.outerContext.mounted) rethrow;
|
||||
final theme = Theme.of(context);
|
||||
scaffoldMessenger.showSnackBar(
|
||||
SnackBar(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue