Skip to content

Instantly share code, notes, and snippets.

@debuging-life
Created July 14, 2018 21:04
Show Gist options
  • Select an option

  • Save debuging-life/b71d3df2aec44b4c0695d442358427fb to your computer and use it in GitHub Desktop.

Select an option

Save debuging-life/b71d3df2aec44b4c0695d442358427fb to your computer and use it in GitHub Desktop.
profile
Widget _buildProfileLogo() {
return Container(
decoration: BoxDecoration(
color: Color(0xFF33b667).withOpacity(0.05),
shape: BoxShape.circle,
),
height: 240.0,
width: 240.0,
child: Center(
child: Container(
decoration: BoxDecoration(
color: Color(0xFF33b667).withOpacity(0.12),
shape: BoxShape.circle),
height: 220.0,
width: 220.0,
child: Center(
child: Container(
decoration: BoxDecoration(
color: Color(0xFF33b667).withOpacity(0.18),
shape: BoxShape.circle),
height: 200.0,
width: 200.0,
child: Center(
child: Container(
decoration: BoxDecoration(
color: Color(0xFF33b667), shape: BoxShape.circle),
height: 180.0,
width: 180.0,
child: Container(
decoration: BoxDecoration(
image: DecorationImage(
image: AssetImage(
'assets/avatar.png',
),
),
),
width: 144.0,
height: 169.0,
child: Padding(
padding: EdgeInsets.all(0.0),
child: Container(
alignment: Alignment.centerRight,
child: Container(
child: Image.asset('assets/addProfilePicBtn.png', width: 56.0, height: 56.0, alignment: Alignment.centerRight,),
),
width: 56.0,
height: 56.0,
),
),
),
),
),
),
),
),
),
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment