Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var stack = Stack (
key: 1
Image.asset ( // background photo
"assets/texture.jpg"
fit: ImageFit.cover
height: 600.0
)
Positioned ( // headline
left: 0.0
bottom: 108.0
width: 490.0
height: 80.0
Container(
decoration: BoxDecoration (
backgroundColor: Colors.black
)
)
)
Positioned (
left: 16.0
bottom: 128.0
Text (
"Lorem ipsum dolor."
style: TextStyle(
color: Colors.blue[500]
fontSize: 42.0
fontWeight: FontWeight.w900
)
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.