Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter 3 兼容一下 #9

Open
ljsenjj opened this issue Jun 22, 2022 · 2 comments
Open

Flutter 3 兼容一下 #9

ljsenjj opened this issue Jun 22, 2022 · 2 comments

Comments

@ljsenjj
Copy link

ljsenjj commented Jun 22, 2022

../../../../Documents/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_floating-0.1.2/lib/floating/floating.dart:77:22: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.

  • 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../../../Documents/flutter/packages/flutter/lib/src/scheduler/binding.dart').
    SchedulerBinding.instance?.addPostFrameCallback((timeStamp) {
@LvKang-insist
Copy link
Owner

../../../../Documents/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_floating-0.1.2/lib/floating/floating.dart:77:22: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.

  • 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../../../Documents/flutter/packages/flutter/lib/src/scheduler/binding.dart').
    SchedulerBinding.instance?.addPostFrameCallback((timeStamp) {

好的,兼容后会在下个版本发布,敬请关注

@LvKang-insist
Copy link
Owner

../../../../Documents/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_floating-0.1.2/lib/floating/floating.dart:77:22: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.

  • 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../../../Documents/flutter/packages/flutter/lib/src/scheduler/binding.dart').
    SchedulerBinding.instance?.addPostFrameCallback((timeStamp) {

适配 flutter3.0 的版本已经发布,直接使用 flutter_floating: ^0.1.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants