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

reactive_month_picker_dialog-2.0.0 ('double?' can't be assigned to the parameter type 'double' in line 136) #140

Closed
leaderrr767 opened this issue Feb 27, 2024 · 5 comments

Comments

@leaderrr767
Copy link

Environment:

Dart SDK 3.3.0
Flutter SDK 3.19.1
reactive_forms 16.1.1
reactive_month_picker_dialog 2.0.0

After updating dart&flutter to the latest version, an error appears when building :

../../.pub-cache/hosted/pub.dev/reactive_month_picker_dialog-2.0.0/lib/reactive_month_picker_dialog.dart:136:34: 
Error: The argument type 'double?' can't be assigned to the parameter type 'double' because 'double?' is nullable and 'double' isn't.
@vasilich6107
Copy link
Contributor

Could you provide a minimum runnable reproduction sample?

@leaderrr767
Copy link
Author

leaderrr767 commented Apr 3, 2024

@vasilich6107
Sure, it is easy, just use your example app as is https://pub.dev/packages/reactive_month_picker_dialog/example

I'v re-checked from stratch, the issue reproduces.

P.S.
Ad-hoc that solve it for me in line 136 is:

customWidth: customWidth ?? 320,

@vasilich6107
Copy link
Contributor

Hi
Im trying to reproduce the issue but with no luck
There is no prop on line 136 as from your reported issue

image

@vasilich6107
Copy link
Contributor

vasilich6107 commented Apr 27, 2024

ah now i see
the package dev released brebreaking change without proper semversioning

check reactive_month_picker_dialog 2.0.2

Copy link

Hi @leaderrr767!
Your issue has been closed. If we were helpful don't forget to star the repo.

Please check our reactive_forms_generator package

We would appreciate sponsorship subscription or one time donation
https://github.com/sponsors/artflutter

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