Skip to content

Instantly share code, notes, and snippets.

@slamdon
Last active February 15, 2020 06:13
Show Gist options
  • Select an option

  • Save slamdon/e8410ff77bc116fb84fc1b2a625aa17a to your computer and use it in GitHub Desktop.

Select an option

Save slamdon/e8410ff77bc116fb84fc1b2a625aa17a to your computer and use it in GitHub Desktop.
Stack
return Container(
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