fluttercommunity / backdrop

Backdrop implementation in flutter.
https://pub.dev/packages/backdrop
MIT License
329 stars 37 forks source link

fix: SchedulerBinding.instance is now null-safe #123

Closed mockturtl closed 2 years ago

mockturtl commented 2 years ago

Closes #122.

You may prefer to just ignore the warning, for backwards compatibility with flutter <= 2.10.

You could delay merging until flutter 2.13(?) becomes stable, or else publish a prerelease (say v0.7.2-0) that specifies a minimum flutter version in pubspec.yaml:

environment:
  sdk: ">=2.17.0-0 <3.0.0"
  flutter:  ">=2.12.0-4.0.pre"
  # seems to be the first time flutter/flutter@ab89ce285 exists
daadu commented 2 years ago

@mockturtl Thanks for the contribution, will go with pre-release

daadu commented 2 years ago

This change has landed on pub.dev with v0.8.0.