Skip to content

Instantly share code, notes, and snippets.

@shubie
Created September 13, 2018 13:46
Show Gist options
  • Save shubie/58f21d8d6551c1af33676ea2475f9aae to your computer and use it in GitHub Desktop.
Save shubie/58f21d8d6551c1af33676ea2475f9aae to your computer and use it in GitHub Desktop.
makeProfileAvatar() {
return Column(
children: <Widget>[
// SizedBox(height: 10.0),
CircleAvatar(
radius: 60.0,
backgroundImage: new AssetImage('assets/shubie2.png'),
),
SizedBox(height: 20.0),
Center(
child: new Text("Shuaib Afegbua",
style: new TextStyle(
fontSize: 20.0,
color: Colors.white,
fontWeight: FontWeight.bold)),
),
Center(
child: new Text("Abuja, Nigeria",
style: new TextStyle(
fontSize: 18.0,
color: Colors.white70,
fontWeight: FontWeight.normal)),
)
],
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment