Skip to content

Instantly share code, notes, and snippets.

@Nash0x7E2
Last active March 22, 2018 19:30
Show Gist options
  • Save Nash0x7E2/04a825625d1a7cc39137c0b03d53e5eb to your computer and use it in GitHub Desktop.
Save Nash0x7E2/04a825625d1a7cc39137c0b03d53e5eb to your computer and use it in GitHub Desktop.
class LandingBody extends StatefulWidget {
@override
LandingBodyState createState() {
return new LandingBodyState();
}
}
class LandingBodyState extends State<LandingBody> {
Widget build(BuildContext context) {
return new Container(
width: double.infinity,
height: double.infinity,
color: Colors.blue,
child: new Center(
child: new Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
new CircleAvatar(
backgroundImage: new NetworkImage(
'https://image.freepik.com/free-vector/designer-s-office-flat-illustration_23-2147492101.jpg'),
radius: 70.0),
new Padding(
padding: const EdgeInsets.only(top: 78.0),
child: new IconButton(
onPressed: (() => print('hello there')),
icon: new Icon(Icons.arrow_forward),
iconSize: 60.0,
color: Colors.pink[300],
),
)
],
),
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment