Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Apply upcoming flutter lints #508

Merged
merged 5 commits into from
May 25, 2021
Merged

Apply upcoming flutter lints #508

merged 5 commits into from
May 25, 2021

Conversation

guidezpl
Copy link
Member

@guidezpl guidezpl commented May 25, 2021

Apply most upcoming lints from https://flutter.dev/docs/release/breaking-changes/flutter-lints-package, but still rely on pedantic (can only include 1 in analysis_options.yaml)

consts over final, const constructors with Key, replacing unnecessary Containers with SizedBox, string interpolation, debug printing, subclass parameter naming

@@ -22,7 +23,7 @@ final valueList = <String>[
/// Tests that the Gallery web benchmarks are run and reported correctly.
Future<void> main() async {
test('Can run a web benchmark', () async {
print('Starting web benchmark tests ...');
stdout.writeln('Starting web benchmark tests ...');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes seem odd, any idea why they happened?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@guidezpl guidezpl merged commit 85feebc into master May 25, 2021
@guidezpl guidezpl deleted the lints branch May 25, 2021 14:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants