Created
October 18, 2021 06:35
-
-
Save crazy-diya/3f2a0b04983f70ce099c26998fecaf09 to your computer and use it in GitHub Desktop.
Add Shadow and Opacity for the Container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Stack( | |
children: [ | |
Container( | |
height: height * 0.57, | |
child: Align( | |
alignment: Alignment.bottomCenter, | |
child: Image.asset( | |
"assets/png/signin_girl_image2.png", | |
height: height * 0.49), | |
), | |
), | |
ClipRRect( | |
child: BackdropFilter( | |
filter: ImageFilter.blur( | |
sigmaX: 5, | |
sigmaY: 5, | |
), | |
child: Container( | |
height: height * 0.57, | |
decoration: BoxDecoration( | |
borderRadius: BorderRadius.circular(25), | |
color: | |
shadow_container_color.withOpacity(0.07), | |
), | |
child: Column( | |
), | |
), | |
), | |
), | |
], | |
), |
Author
crazy-diya
commented
Oct 18, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment