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

Overlay assertion error if both color and blur are specified. #25

Open
pranavkumark13 opened this issue Nov 17, 2023 · 0 comments
Open

Comments

@pranavkumark13
Copy link

Describe the bug:

I tried setting both color and blur to the property overlayStyle as mentioned in the documentation, but I am facing an assertion error saying "'color== null || blur == null': is not true." In the example code provided, the color property in the overlayStyle is commented out. There is a requirement for us to have both color and blur.

To Reproduce:

Steps to reproduce the behavior:
Add this

overlayStyle: ExpandableFabOverlayStyle(
          color: Colors.black.withOpacity(0.5),
          blur: 5,
        ),

to the ExpandableFab widget.

Expected Behavior:

Overlaystyle should work by adding both color and blur. The Background of the fab button should have the color which is passed.

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

1 participant