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

Shadows with opacity are not applied #1

Closed
aydinfatih opened this issue Apr 8, 2022 · 3 comments · Fixed by #2
Closed

Shadows with opacity are not applied #1

aydinfatih opened this issue Apr 8, 2022 · 3 comments · Fixed by #2

Comments

@aydinfatih
Copy link

I add opacity to the shadow color but it tints without opacity. Can you help with this issue?


Container(
      width: width,
      height: height,
      padding: padding,
      decoration: BoxDecoration(
        boxShadow: [
          BoxShadow(
            offset: Offset.fromDirection(4, 4) ,
            color: Colors.black.withOpacity(.05),
            blurRadius: 0,
            spreadRadius: 10,
            inset: true,
          ),
        ],
      ),
      child: child,
    )

0c2f6cd9-5c50-4fae-9253-2949a00db6e7

@aydinfatih
Copy link
Author

Fixed
#2

@ghost ghost linked a pull request Apr 8, 2022 that will close this issue
@ghost
Copy link

ghost commented Apr 8, 2022

Hello ! Thank you very much for this PR, I am merging it immediately.

@ghost
Copy link

ghost commented Apr 8, 2022

I just published version 1.0.8 on pub.dev, feel free to upgrade.

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

Successfully merging a pull request may close this issue.

1 participant