Skip to content

Commit

Permalink
fix: prefer const over final (flutter#651)
Browse files Browse the repository at this point in the history
  • Loading branch information
omartinma authored Jun 21, 2021
1 parent 6ac135e commit 67e3119
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ void main() {
});

testWidgets('renders with provided colors', (tester) async {
final color = PhotoboothColors.black;
final backgroundColor = PhotoboothColors.blue;
const color = PhotoboothColors.black;
const backgroundColor = PhotoboothColors.blue;
await tester.pumpWidget(
AppCircularProgressIndicator(
color: color,
Expand Down
8 changes: 4 additions & 4 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ packages:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
version: "1.3.1"
cli_util:
dependency: transitive
description:
Expand Down Expand Up @@ -641,21 +641,21 @@ packages:
name: test
url: "https://pub.dartlang.org"
source: hosted
version: "1.17.5"
version: "1.17.8"
test_api:
dependency: transitive
description:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.0"
version: "0.4.1"
test_core:
dependency: transitive
description:
name: test_core
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.25"
version: "0.3.28"
typed_data:
dependency: transitive
description:
Expand Down

0 comments on commit 67e3119

Please sign in to comment.