Skip to content

Instantly share code, notes, and snippets.

@trey-rosius
Created January 24, 2019 06:41
Show Gist options
  • Select an option

  • Save trey-rosius/75e0ebe840c48690aabcc3f61623ba8a to your computer and use it in GitHub Desktop.

Select an option

Save trey-rosius/75e0ebe840c48690aabcc3f61623ba8a to your computer and use it in GitHub Desktop.
Container(
height: size.height / 8,
width: size.width / 1.1,
decoration: BoxDecoration(
color: Color(0xFF212129),
borderRadius: BorderRadius.all(Radius.circular(20.0))),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
Image.asset(
'images/egg.png',
color: Colors.white,
),
Text(
'4 eggs',
style: TextStyle(
color: Colors.white,
),
)
],
),
Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
Image.asset(
'images/cupcake.png',
color: Colors.white,
),
Text(
'2 teaspoon vanilla',
style: TextStyle(
color: Colors.white,
),
)
],
),
Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
Image.asset(
'images/pot.png',
color: Colors.white,
),
Text(
'1 cup Sugar',
style: TextStyle(
color: Colors.white,
),
)
],
),
],
),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment