disable linter warning for use_build_context_synchronously

master
Haslinger Stefan (extern) 2023-04-06 08:23:02 +02:00
parent 46967bf6a4
commit 538829b04d
2 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,8 @@ linter:
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
# producing the lint.
rules:
# FIXME: HAS20230406: At least as long as https://github.com/dart-lang/linter/issues/3943 is open
use_build_context_synchronously: false
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule

View File

@ -29,5 +29,6 @@ Future<void> setupDemoAthlete({
context: context,
athlete: athlete,
);
ScaffoldMessenger.of(context).removeCurrentSnackBar();
}