Last active
January 15, 2025 21:47
-
-
Save loic-sharma/808d0f67101870505cb9b6d7aefdebe0 to your computer and use it in GitHub Desktop.
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
Center() | |
<| DecoratedBox( | |
decoration: BoxDecoration( | |
color: Colors.white, | |
borderRadius: BorderRadius.circular(20), | |
boxShadow: [ | |
BoxShadow( | |
color: Colors.grey.withValues(alpha: 0.5), | |
offset: Offset(3, 3) | |
) | |
], | |
), | |
) | |
<| Padding(padding: EdgeInsets.all(20)) | |
<| DecoratedBox( | |
decoration: BoxDecoration( | |
color: Colors.lightBlue.shade50, | |
shape: BoxShape.circle, | |
), | |
) | |
<| Padding(padding: EdgeInsets.all(15)) | |
<| DecoratedBox( | |
decoration: BoxDecoration( | |
color: Colors.lightBlue.shade300, | |
shape: BoxShape.circle, | |
), | |
) | |
<| Padding(EdgeInsets.all(10)) | |
<| Icon( | |
Icons.home, | |
color: Colors.white, | |
); |
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
Center( | |
child: Container( | |
decoration: BoxDecoration( | |
color: Colors.white, | |
borderRadius: BorderRadius.circular(20), | |
boxShadow: [ | |
BoxShadow( | |
color: Colors.grey.withValues(alpha: 0.5), | |
offset: Offset(3, 3) | |
), | |
], | |
), | |
padding: EdgeInsets.all(20), | |
child: Container( | |
decoration: BoxDecoration( | |
color: Colors.lightBlue.shade50, | |
shape: BoxShape.circle, | |
), | |
padding: EdgeInsets.all(15), | |
child: Container( | |
decoration: BoxDecoration( | |
color: Colors.lightBlue.shade300, | |
shape: BoxShape.circle, | |
), | |
padding: EdgeInsets.all(10), | |
child: Icon( | |
Icons.home, | |
color: Colors.white, | |
), | |
), | |
), | |
), | |
); |
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
Center( | |
child: DecoratedBox( | |
decoration: BoxDecoration( | |
color: Colors.white, | |
borderRadius: BorderRadius.circular(20), | |
boxShadow: [ | |
BoxShadow( | |
color: Colors.grey.withValues(alpha: 0.5), | |
offset: Offset(3, 3) | |
) | |
], | |
), | |
child: Padding( | |
padding: EdgeInsets.all(20), | |
child: DecoratedBox( | |
decoration: BoxDecoration( | |
color: Colors.lightBlue.shade50, | |
shape: BoxShape.circle, | |
), | |
child: Padding( | |
padding: EdgeInsets.all(15), | |
child: DecoratedBox( | |
decoration: BoxDecoration( | |
color: Colors.lightBlue.shade300, | |
shape: BoxShape.circle, | |
), | |
child: Padding( | |
padding: EdgeInsets.all(10), | |
child: Icon( | |
Icons.home, | |
color: Colors.white, | |
), | |
), | |
), | |
), | |
), | |
), | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment