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

Error: The parameter 'borderRadius' can't have a value of 'null' because of its type 'BorderRadius', but the implicit default value is 'null' #122

Open
bastaware opened this issue Aug 20, 2023 · 2 comments

Comments

@bastaware
Copy link

Describe the bug
Build fails on current stable.

flushbar.dart line 439

            borderRadius: widget.borderRadius,

Error: The parameter 'borderRadius' can't have a value of 'null' because of its type 'BorderRadius', but the implicit default value is 'null'

To Reproduce
Steps to reproduce the behavior:

  1. Upgrade Flutter to version 3.13.0
  2. Compile the code

Expected behavior
To compile without errors

@zkrige
Copy link

zkrige commented Aug 22, 2023

I used another_flushbar: ^1.12.30 and it worked fine, but its broken for any version earlier than this

@marcusrohden
Copy link

For the ones using another-flushbar as a dependency of another package, add on your Pubspec:

dependency_overrides:
  another_flushbar: ^1.12.30

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

3 participants