Skip to content

Commit 518f768

Browse files
authored
fix: Remove deprecated parameter vsync from AnimatedSize (#864)
1 parent 7faf800 commit 518f768

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

packages/flutter/CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
### BREAKING CHANGES
44

55
* The minimum required Dart SDK version is 2.18.0 ([#867](https://github.com/parse-community/Parse-SDK-Flutter/pull/867))
6+
* The deprecated parameter `vsync` from `AnimatedSize` is removed. ([#864](https://github.com/parse-community/Parse-SDK-Flutter/pull/864))
67

78
### Bug Fixes
89

910
* Incorrect Dart and Flutter SDKs compatibility range ([#867](https://github.com/parse-community/Parse-SDK-Flutter/pull/867))
11+
* Remove deprecated parameter `vsync` from `AnimatedSize` ([#864](https://github.com/parse-community/Parse-SDK-Flutter/pull/864))
1012

1113
## [4.0.0](https://github.com/parse-community/Parse-SDK-Flutter/compare/flutter-3.1.4...flutter-4.0.0) (2023-03-19)
1214

packages/flutter/lib/src/utils/parse_live_list.dart

+1-4
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,7 @@ class ParseLiveListElementWidget<T extends sdk.ParseObject>
219219
}
220220

221221
class _ParseLiveListElementWidgetState<T extends sdk.ParseObject>
222-
extends State<ParseLiveListElementWidget<T>>
223-
with SingleTickerProviderStateMixin {
222+
extends State<ParseLiveListElementWidget<T>> {
224223
late sdk.ParseLiveListElementSnapshot<T> _snapshot;
225224
StreamSubscription<T>? _streamSubscription;
226225

@@ -272,8 +271,6 @@ class _ParseLiveListElementWidgetState<T extends sdk.ParseObject>
272271
sizeFactor: widget.sizeFactor,
273272
child: AnimatedSize(
274273
duration: widget.duration,
275-
// ignore: deprecated_member_use
276-
vsync: this,
277274
child: widget.childBuilder(context, _snapshot),
278275
),
279276
);

packages/flutter/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: parse_server_sdk_flutter
22
description: The Flutter SDK for Parse Platform (https://parseplatform.org)
3-
version: 4.0.0
3+
version: 5.0.0
44
homepage: https://github.com/parse-community/Parse-SDK-Flutter
55

66
environment:

0 commit comments

Comments
 (0)