Skip to content

Instantly share code, notes, and snippets.

@3gcodes
Created February 23, 2021 16:43
Show Gist options
  • Save 3gcodes/bde978dcfaf179dfa11a15584c0b8123 to your computer and use it in GitHub Desktop.
Save 3gcodes/bde978dcfaf179dfa11a15584c0b8123 to your computer and use it in GitHub Desktop.
Center(
child: Column(
children: [
Expanded(
child: Container(
padding: EdgeInsets.all(20.0),
decoration: BoxDecoration(
color: Colors.blueGrey
),
child: Column(
children: [
Container(
padding: EdgeInsets.fromLTRB(20, 60, 20, 20),
child: Text('weavix', style: TextStyle(color: Colors.white),)),
Container(
padding: EdgeInsets.fromLTRB(10, 5, 0, 5),
decoration: BoxDecoration(
color: Color.fromRGBO(148, 173, 192, 1.0),
borderRadius: BorderRadius.all(Radius.circular(5))
),
child: Row(
children: [
Expanded(flex: 1, child: CircleImage()),
Expanded(flex: 6, child: Center(
child: Text('Century 2', style: TextStyle(color: Colors.white, fontSize: 24, fontWeight: FontWeight.bold))
)),
Expanded(flex: 1, child: Icon(Icons.arrow_forward_ios, color: Colors.white)),
],
),
),
Container(
padding: EdgeInsets.fromLTRB(10, 20, 10, 20),
margin: EdgeInsets.only(top: 20),
decoration: BoxDecoration(
color: Color.fromRGBO(148, 173, 192, 1.0),
borderRadius: BorderRadius.all(Radius.circular(5))
),
child: Row(
children: [
Expanded(flex: 1, child: CircleImage()),
Expanded(flex: 3, child: Container(
padding: EdgeInsets.only(left: 20),
child: Text('Gregg\nBolinger', style: TextStyle(color: Colors.white, fontSize: 24, fontWeight: FontWeight.bold))
)),
Expanded(flex: 1, child: CircleImage()),
],
),
),
],
),
)
),
Expanded(
child: Container(
decoration: BoxDecoration(
color: Colors.white,
),
)
),
],
),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment