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

(childView.primary ? PrimaryScrollController.of(context) : null); #98

Closed
prajwalcognerium opened this issue Jul 6, 2022 · 5 comments
Closed
Labels
bug Something isn't working

Comments

@prajwalcognerium
Copy link

Describe the bug
Description of what the bug is.

../flutter/.pub-cache/hosted/pub.dartlang.org/horizontal_data_table-4.1.1+1/lib/refresh/pull_to_refresh/src/smart_refresher.dart:412:24: Error: A value of type 'bool?' can't be assigned to a variable
of type 'bool' because 'bool?' is nullable and 'bool' isn't.
(childView.primary ? PrimaryScrollController.of(context) : null);

Flutter 3.1.0-0.0.pre.1376 • channel master • https://github.com/flutter/flutter.git
Framework • revision 3598f20002 (9 days ago) • 2022-06-26 18:19:04 -0400
Engine • revision ee56813c14
Tools • Dart 2.18.0 (build 2.18.0-228.0.dev) • DevTools 2.14.1

Platform
Please describe the affected platfrom(eg. IOS, Android, Web, Window, Mac, Linux)

Screen Captures or Debug Log
If applicable, add screenshots or debug log to help explain your problem.

Additional context
Add any other context about the problem here.

@prajwalcognerium prajwalcognerium added the bug Something isn't working label Jul 6, 2022
@MayLau-CbL
Copy link
Owner

Thanks for reporting. It seems this happen on the master channel. I will keep an eye on this. if the primary field is changed from bool to bool? in stable channel, I will make an update for this.

@thahaniayoob
Copy link

I'm using this package on an app which is currently being used. Because of this bug, I haven't been able to release a new version of it. Please debug this ASAP. If possible kindly inform by when it will be fixed. Thank You.

@MayLau-CbL
Copy link
Owner

I have published a pre-release version for this https://pub.dev/packages/horizontal_data_table/versions/4.1.2-debug based on the branch fix/incorrect-type-for-master-3.1.0-0.0.pre.1376
Stable version will alive if this go to stable channel.

@likYim
Copy link

likYim commented Aug 31, 2022

Hello, I am in stable Flutter 3.3.0 and cannot run app with this error. Please merge the update to release version. Thanks a lot.

@MayLau-CbL
Copy link
Owner

released in new package with v4.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants