Last active
February 15, 2020 06:18
-
-
Save slamdon/c04ed86aebcb3ce9152b44927665a9c0 to your computer and use it in GitHub Desktop.
RectWithPadding
This file contains hidden or 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
| return Padding( | |
| padding: EdgeInsets.symmetric( | |
| horizontal: 16, | |
| ), | |
| child: ClipRRect( | |
| borderRadius: BorderRadius.circular(20), | |
| child: Stack( | |
| fit: StackFit.expand, | |
| children: <Widget>[ | |
| image, | |
| imageOverlayGradient, | |
| _buildTextContainer(), | |
| ], | |
| ), | |
| ), | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment