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

Shadow of the dialog is not rounded #15

Closed
aytunch opened this issue Jan 31, 2021 · 0 comments
Closed

Shadow of the dialog is not rounded #15

aytunch opened this issue Jan 31, 2021 · 0 comments

Comments

@aytunch
Copy link

aytunch commented Jan 31, 2021

I want my Dialog to be rounded and it works fine, however when I set boxShadows, the shadow turns out to be rectangular.

Flash.dialog(
borderRadius: const BorderRadius.all(Radius.circular(30)),
boxShadows: [
            BoxShadow(
              color: Color.fromRGBO(0, 0, 0, 0.25),
              blurRadius: 4.0,
              offset: Offset(0, 4),
            ),
          ],

The result is a rounded Dialog with NOT rounded shadow.

@sososdk sososdk closed this as completed in 14827d0 Feb 1, 2021
sososdk added a commit that referenced this issue Feb 1, 2021
Basyir91 pushed a commit to Basyir91/flash that referenced this issue Jun 15, 2021
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