Skip to content

Instantly share code, notes, and snippets.

@MarcinusX
Created Oct 2, 2019
Embed
What would you like to do?
class MyHomePage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('DevStyle app'),
),
body: Column(
children: <Widget>[
Image.network('https://wallpapercave.com/wp/lC4AiAn.jpg'),
MyCenteredText(),
RaisedButton(
child: Text('GO THERE!'),
onPressed: () {
//Call business logic
},
)
],
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment