Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
nEdAy opened this issue · comments
Describe the bug
Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
Version (please complete the following information):
Flutter Version: Flutter 3.0.0 • channel stable
OS: Android
flutter_pulltorefresh Version : 2.0.0
Additional context
Add any other context about the problem here.
The same here:
`
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../Documents/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.addPostFrameCallback((_) {
^
../../../Documents/flutter/.pub-cache/hosted/pub.dartlang.org/pull_to_refresh-2.0.0/lib/src/smart_refresher.dart:765:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null. - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../Documents/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.addPostFrameCallback((_) {
^
../../../Documents/flutter/.pub-cache/hosted/pub.dartlang.org/pull_to_refresh-2.0.0/lib/src/smart_refresher.dart:788:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null. - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../Documents/flutter/packages/flutter/lib/src/widgets/binding.dart').
WidgetsBinding.instance!.addPostFrameCallback((_) {
^
../../../Documents/flutter/.pub-cache/hosted/pub.dartlang.org/pull_to_refresh-2.0.0/lib/src/smart_refresher.dart:796:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
`
i would categorize this project to abandonware
same
same issue
same issue..
Same issue, can u merge the PR to fixed it ?
same issue
same issue
same issue
Pull to Refresh
pull_to_refresh:
git:
url: https://github.com/miquelbeltran/flutter_pulltorefresh
ref: 6d7fbdd
same issue
same issue
same issue
Same issue
pull_to_refresh_flutter3: ^2.0.1