Skip to content

Commit 98d8617

Browse files
authored
feat: support flutter_svg 2.0.0 (#350)
* feat: support flutter_svg 2.0.0 * feat: add lint ignore * chore: update example pubspec * chore: build runner exec result * test: update test resource with svg 2.0.0
1 parent 04e4363 commit 98d8617

29 files changed

+147
-136
lines changed

examples/example/lib/freezed_sample.freezed.dart

Lines changed: 51 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/example/lib/gen/assets.gen.dart

Lines changed: 11 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/example/lib/gen/colors.gen.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/example/lib/gen/fonts.gen.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/example/lib/json_serializable_sample.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ part 'json_serializable_sample.g.dart';
44

55
@JsonSerializable()
66
class Person {
7-
final String firstName, lastName;
7+
final String firstName;
8+
final String lastName;
89
final DateTime? dateOfBirth;
910

1011
Person({required this.firstName, required this.lastName, this.dateOfBirth});

examples/example/macos/Flutter/GeneratedPluginRegistrant.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import FlutterMacOS
66
import Foundation
77

8-
import connectivity_plus_macos
8+
import connectivity_plus
99
import device_info_plus_macos
1010
import flutter_local_notifications
1111
import flutter_secure_storage_macos

examples/example/pubspec.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ dependencies:
1313
flutter:
1414
sdk: flutter
1515

16-
flutter_svg: 1.0.3
16+
flutter_svg: 2.0.0+1
1717
flare_flutter: 3.0.2
1818
rive: 0.9.1
1919
lottie: 2.0.0
2020

2121
# Dependency check
22-
collection: 1.16.0
22+
collection: 1.17.0
2323
crypto: 3.0.2
2424
glob: 2.0.2
2525

@@ -43,15 +43,15 @@ dependencies:
4343
flutter_hooks: 0.18.3
4444
hooks_riverpod: 1.0.3
4545
dio: 4.0.6
46-
connectivity_plus: 2.3.0
46+
connectivity_plus: 3.0.2
4747
ua_client_hints: 1.1.0
4848
retrofit: 3.0.1+1
4949
uuid: 3.0.6
5050
http_parser: 4.0.0
5151
protobuf: 2.0.1
52-
json_serializable: 6.2.0
53-
json_annotation: ^4.5.0
54-
freezed_annotation: ^2.1.0
52+
json_serializable: 6.6.1
53+
json_annotation: ^4.8.0
54+
freezed_annotation: ^2.2.0
5555
intl: 0.17.0
5656
fixnum: 1.0.0
5757
shared_preferences: 2.0.13
@@ -92,10 +92,10 @@ dependencies:
9292
geocoding: 2.0.4
9393
android_intent_plus: 3.1.1
9494
share_plus: 4.0.4
95-
stack_trace: 1.10.0
95+
# stack_trace: 1.10.0
9696
in_app_review: 2.0.4
9797
pull_to_refresh: 2.0.0
98-
xml: 5.4.1
98+
xml: 6.2.2
9999

100100
example_resources:
101101
path: ../example_resources
@@ -106,7 +106,7 @@ dev_dependencies:
106106
integration_test:
107107
sdk: flutter
108108
build_runner: ^2.1.11
109-
freezed: ^2.1.0+1
109+
freezed: ^2.3.2
110110
flutter_gen_runner: ^5.1.0+1
111111

112112
flutter_lints: ^2.0.1

0 commit comments

Comments
 (0)