Skip to content

Commit c91e964

Browse files
committed
feat: upgrade to Flutter 3.16.0 and Dart 3.2
1 parent 67841c6 commit c91e964

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

lib/model/model.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class VerboseTodo {
1717
VerboseTodo(this.todo, this.category);
1818
}
1919

20-
abstract class ModelMixin {
20+
abstract mixin class ModelMixin {
2121
Map<String, dynamic> toJson();
2222
}
2323

pubspec.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ publish_to: "none"
1717
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
1818
# Read more about iOS versioning at
1919
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
20-
version: 0.3.0-beta.1
20+
version: 0.3.0-beta.2
2121

2222
environment:
23-
sdk: ">=2.12.0 <3.0.0"
23+
sdk: ^3.2.0
24+
flutter: '>=3.6.0'
2425

2526
dependencies:
2627
flutter:
@@ -32,13 +33,13 @@ dependencies:
3233
fluttertoast: ^8.0.9
3334
synchronized: ^3.0.0+3
3435
animated_text_kit: ^4.2.2
35-
flutter_local_notifications: ^14.0.0+1
36+
flutter_local_notifications: ^16.1.0
3637
cupertino_icons: ^1.0.5
37-
syncfusion_flutter_datepicker: ^21.2.4
38+
syncfusion_flutter_datepicker: ^23.2.4
3839
day_night_time_picker: ^1.1.3
3940
flutter_native_timezone: ^2.0.0
4041
# intl: ^0.18.1
41-
package_info_plus: ^4.0.0
42+
package_info_plus: ^5.0.1
4243
lottie: ^2.3.2
4344
flutter_easyloading: ^3.0.5
4445
url_launcher: ^6.1.6
@@ -51,7 +52,7 @@ dependencies:
5152
dio: ^5.1.2
5253
linkwell: ^2.0.6
5354
amap_flutter_location: ^3.0.0
54-
permission_handler: ^10.1.0
55+
permission_handler: ^11.0.1
5556
flutter_qweather: ^0.0.10
5657

5758
dev_dependencies:

0 commit comments

Comments
 (0)