diff --git a/packages/flutter/CHANGELOG.md b/packages/flutter/CHANGELOG.md index c5f23aeee..db8007b0a 100644 --- a/packages/flutter/CHANGELOG.md +++ b/packages/flutter/CHANGELOG.md @@ -3,10 +3,12 @@ ### BREAKING CHANGES * The minimum required Dart SDK version is 2.18.0 ([#867](https://github.com/parse-community/Parse-SDK-Flutter/pull/867)) +* The deprecated parameter `vsync` from `AnimatedSize` is removed. ([#864](https://github.com/parse-community/Parse-SDK-Flutter/pull/864)) ### Bug Fixes * Incorrect Dart and Flutter SDKs compatibility range ([#867](https://github.com/parse-community/Parse-SDK-Flutter/pull/867)) +* Remove deprecated parameter `vsync` from `AnimatedSize` ([#864](https://github.com/parse-community/Parse-SDK-Flutter/pull/864)) ## [4.0.0](https://github.com/parse-community/Parse-SDK-Flutter/compare/flutter-3.1.4...flutter-4.0.0) (2023-03-19) diff --git a/packages/flutter/lib/src/utils/parse_live_list.dart b/packages/flutter/lib/src/utils/parse_live_list.dart index 1a671d1f0..7f6c106a2 100644 --- a/packages/flutter/lib/src/utils/parse_live_list.dart +++ b/packages/flutter/lib/src/utils/parse_live_list.dart @@ -219,8 +219,7 @@ class ParseLiveListElementWidget } class _ParseLiveListElementWidgetState - extends State> - with SingleTickerProviderStateMixin { + extends State> { late sdk.ParseLiveListElementSnapshot _snapshot; StreamSubscription? _streamSubscription; @@ -272,8 +271,6 @@ class _ParseLiveListElementWidgetState sizeFactor: widget.sizeFactor, child: AnimatedSize( duration: widget.duration, - // ignore: deprecated_member_use - vsync: this, child: widget.childBuilder(context, _snapshot), ), ); diff --git a/packages/flutter/pubspec.yaml b/packages/flutter/pubspec.yaml index f63c5289f..c5a3ff1a9 100644 --- a/packages/flutter/pubspec.yaml +++ b/packages/flutter/pubspec.yaml @@ -1,6 +1,6 @@ name: parse_server_sdk_flutter description: The Flutter SDK for Parse Platform (https://parseplatform.org) -version: 4.0.0 +version: 5.0.0 homepage: https://github.com/parse-community/Parse-SDK-Flutter environment: