Skip to content

Commit 683f73f

Browse files
authored
Misc lints and deps updates for each package (#2978)
1 parent 1f0335c commit 683f73f

File tree

6 files changed

+25
-25
lines changed

6 files changed

+25
-25
lines changed

pkgs/dart_services/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ dependencies:
2626
dev_dependencies:
2727
build_runner: ^2.4.9
2828
collection: ^1.18.0
29-
dart_flutter_team_lints: ^2.1.1
29+
dart_flutter_team_lints: ^3.0.0
3030
grinder: ^0.9.5
3131
json_serializable: any
3232
package_config: ^2.1.0
3333
shelf_router_generator: ^1.1.0
3434
synchronized: ^3.1.0
35-
test: ^1.24.9
35+
test: ^1.25.2
3636
test_descriptor: ^2.0.1
3737

3838
dependency_overrides:

pkgs/dartpad_shared/pubspec.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: dartpad_shared
22
description: Shared code between the DartPad frontend and backend.
3-
publish_to: 'none'
3+
publish_to: none
44

55
environment:
6-
sdk: ^3.2.0
6+
sdk: ^3.3.0
77

88
dependencies:
9-
http: ^1.1.0
9+
http: ^1.2.1
1010
json_annotation: ^4.9.0
1111

1212
dev_dependencies:
13-
build_runner: ^2.4.5
14-
dart_flutter_team_lints: ^2.1.1
13+
build_runner: ^2.4.9
14+
dart_flutter_team_lints: ^3.0.0
1515
json_serializable: ^6.8.0

pkgs/dartpad_ui/lib/samples.g.dart

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkgs/dartpad_ui/pubspec.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,24 @@ dependencies:
1010
dartpad_shared: any
1111
flutter:
1212
sdk: flutter
13-
flutter_markdown: ^0.6.22
13+
flutter_markdown: ^0.7.1
1414
flutter_web_plugins:
1515
sdk: flutter
1616
fluttering_phrases: ^1.0.0
17-
go_router: ^13.0.0
18-
http: ^1.2.0
19-
json_annotation: ^4.8.1
17+
go_router: ^14.1.4
18+
http: ^1.2.1
19+
json_annotation: ^4.9.0
2020
pointer_interceptor: ^0.10.0
21-
provider: ^6.1.0
21+
provider: ^6.1.2
2222
split_view: ^3.2.0
23-
url_launcher: ^6.2.2
23+
url_launcher: ^6.3.0
2424
vtable: ^0.4.0
25-
web: ^0.5.0
25+
web: ^0.5.1
2626

2727
dev_dependencies:
2828
flutter_test:
2929
sdk: flutter
30-
flutter_lints: ^3.0.0
30+
flutter_lints: ^4.0.0
3131
test: any
3232

3333
flutter:

pkgs/samples/lib/google_ai.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class _ChatScreenState extends State<ChatScreen> {
6262
class ApiKeyWidget extends StatelessWidget {
6363
ApiKeyWidget({required this.onSubmitted, super.key});
6464

65-
final ValueChanged onSubmitted;
65+
final ValueChanged<String> onSubmitted;
6666
final TextEditingController _textController = TextEditingController();
6767

6868
@override
@@ -256,7 +256,7 @@ class _ChatWidgetState extends State<ChatWidget> {
256256
}
257257

258258
void _showError(String message) {
259-
showDialog(
259+
showDialog<void>(
260260
context: context,
261261
builder: (context) {
262262
return AlertDialog(

pkgs/samples/pubspec.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
name: samples
22
description: Sample code snippets for DartPad.
3-
publish_to: 'none'
3+
publish_to: none
44

55
environment:
66
sdk: ^3.3.0
77

88
dependencies:
9-
flame: ^1.16.0
9+
flame: ^1.17.0
1010
flutter:
1111
sdk: flutter
12-
flutter_markdown: ^0.6.19
13-
google_generative_ai: ^0.2.0
14-
url_launcher: ^6.2.4
12+
flutter_markdown: ^0.7.1
13+
google_generative_ai: ^0.4.2
14+
url_launcher: ^6.3.0
1515

1616
dev_dependencies:
1717
args: ^2.4.0
1818
flutter_lints: ^3.0.0
19-
path: ^1.8.0
19+
path: ^1.9.0
2020

2121
flutter:
2222
uses-material-design: true

0 commit comments

Comments
 (0)