disable linter warning for use_build_context_synchronously
parent
46967bf6a4
commit
538829b04d
|
@ -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
|
||||
|
||||
|
|
|
@ -29,5 +29,6 @@ Future<void> setupDemoAthlete({
|
|||
context: context,
|
||||
athlete: athlete,
|
||||
);
|
||||
|
||||
ScaffoldMessenger.of(context).removeCurrentSnackBar();
|
||||
}
|
||||
|
|
Reference in New Issue