Skip to content

Instantly share code, notes, and snippets.

@MarcinusX
Created October 2, 2019 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarcinusX/408a7cfeeeda9466a0d847973b5a0f4e to your computer and use it in GitHub Desktop.
Save MarcinusX/408a7cfeeeda9466a0d847973b5a0f4e to your computer and use it in GitHub Desktop.
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