diff --git a/.vscode/settings.json b/.vscode/settings.json index 64c6882..3d83f64 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,5 +6,5 @@ }, "dart.lineLength": 80, "markdown.extension.toc.levels": "2..4", - "dart.flutterSdkPath": "/Users/max/fvm/versions/3.13.0" + "dart.flutterSdkPath": "~/fvm/versions/3.18.0-0.2.pre" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index f524937..ff530d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 0.5.7-0.1.pre +- Update flutter version to the `3.16.5-0.2.pre` and fix build error. + ## 0.5.6 - Fix the `Combine.spawn` method on web. diff --git a/lib/src/bindings/isolate_bindings/absent_scheduler_binding.dart b/lib/src/bindings/isolate_bindings/absent_scheduler_binding.dart index ccd6962..ac36b10 100644 --- a/lib/src/bindings/isolate_bindings/absent_scheduler_binding.dart +++ b/lib/src/bindings/isolate_bindings/absent_scheduler_binding.dart @@ -16,7 +16,7 @@ mixin _AbsentSchedulerBinding on BindingBase implements SchedulerBinding { void addPersistentFrameCallback(callback) {} @override - void addPostFrameCallback(callback) {} + void addPostFrameCallback(callback, {String debugLabel = ''}) {} @override void addTimingsCallback( diff --git a/pubspec.yaml b/pubspec.yaml index 5167b52..e43fc03 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,13 +1,13 @@ name: combine description: A Flutter package which allows you to work with MethodChannels in Isolate and provides simplified Isolate and Thread Pool API. -version: 0.5.6 +version: 0.5.7-0.1.pre homepage: https://github.com/Maksimka101/combine repository: https://github.com/Maksimka101/combine environment: sdk: ">=2.17.0 <4.0.0" - flutter: ">=3.7.0" + flutter: ">=3.16.5-0.2.pre" dependencies: flutter: