Skip to content

Instantly share code, notes, and snippets.

@crazy-diya
Created October 18, 2021 06:35
Show Gist options
  • Save crazy-diya/3f2a0b04983f70ce099c26998fecaf09 to your computer and use it in GitHub Desktop.
Save crazy-diya/3f2a0b04983f70ce099c26998fecaf09 to your computer and use it in GitHub Desktop.
Add Shadow and Opacity for the Container
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(
),
),
),
),
],
),
@crazy-diya
Copy link
Author

Screenshot_1634539511

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment