another-flushbar icon indicating copy to clipboard operation
another-flushbar copied to clipboard

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

Open bastaware opened this issue 2 years ago • 2 comments

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

bastaware avatar Aug 20 '23 21:08 bastaware

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

zkrige avatar Aug 22 '23 10:08 zkrige

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

dependency_overrides:
  another_flushbar: ^1.12.30

marcusrohden avatar Aug 28 '23 14:08 marcusrohden