Skip to content
New issue

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

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

Already on GitHub? # to your account

Warning after Upgrade to Flutter 3 #23

Open
BenPoell opened this issue Jun 7, 2022 · 0 comments
Open

Warning after Upgrade to Flutter 3 #23

BenPoell opened this issue Jun 7, 2022 · 0 comments

Comments

@BenPoell
Copy link

BenPoell commented Jun 7, 2022

: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
../…/lib/boardview.dart:307
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../flutter/packages/flutter/lib/src/widgets/binding.dart').
package:flutter/…/widgets/binding.dart:1
      WidgetsBinding.instance!.addPostFrameCallback((Duration duration) {
                     ^

: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
../…/lib/boardview.dart:569
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../flutter/packages/flutter/lib/src/widgets/binding.dart').
package:flutter/…/widgets/binding.dart:1
      WidgetsBinding.instance!.addPostFrameCallback((timeStamp) {
                     ^

: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
../…/lib/board_item.dart:92
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../flutter/packages/flutter/lib/src/widgets/binding.dart').
package:flutter/…/widgets/binding.dart:1
    WidgetsBinding.instance!

                   ^
: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
../…/lib/table_sticky_headers.dart:115
- 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../flutter/packages/flutter/lib/src/scheduler/binding.dart').
package:flutter/…/scheduler/binding.dart:1
    SchedulerBinding.instance?.addPostFrameCallback((_) {
izzatzr added a commit to izzatzr/FlutterBoardView that referenced this issue Apr 28, 2023
Upgraded to flutter 3 + fixed obvious warnings
BenPoell added a commit to BenPoell/FlutterBoardView that referenced this issue May 22, 2023
BenPoell added a commit to BenPoell/FlutterBoardView that referenced this issue May 22, 2023
BenPoell added a commit to BenPoell/FlutterBoardView that referenced this issue May 27, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant