apply dart_style 3.0.1 (#160875)

dart_style 3.0.1 comes with some minor style fixes:
https://github.com/dart-lang/dart_style/blob/main/CHANGELOG.md#301

This PR applies this fixes in bulk across the repository. (Otherwise,
the next person touching these files would have been the one updating
them to the new format by running the formatter).
This commit is contained in:
Michael Goderbauer
2024-12-26 16:06:41 -08:00
committed by GitHub
parent 29d0435355
commit 09a585ba1d
40 changed files with 101 additions and 131 deletions

View File

@@ -108,8 +108,8 @@ class _RenderBoxSubclassVisitor extends RecursiveAstVisitor<void> {
return;
}
final bool isCallingSuperImplementation = switch (node.parent) {
PropertyAccess(target: SuperExpression()) || MethodInvocation(target: SuperExpression()) =>
true,
PropertyAccess(target: SuperExpression()) ||
MethodInvocation(target: SuperExpression()) => true,
_ => false,
};
if (isCallingSuperImplementation) {