Skip to content

Instantly share code, notes, and snippets.

@kasperpeulen
Created November 26, 2021 15:09
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 kasperpeulen/66d49e1d2ef1c9c008fa9d4fb2f8c325 to your computer and use it in GitHub Desktop.
Save kasperpeulen/66d49e1d2ef1c9c008fa9d4fb2f8c325 to your computer and use it in GitHub Desktop.
void main() {
runApp(
MaterialApp(
home: Scaffold(
appBar: AppBar(title: Text('Title')),
body: Text('Hello World'),
floatingActionButton: FloatingActionButton(
onPressed: () => print('Button pressed'),
child: Icon(Icons.add),
),
),
),
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment