Skip to content

Instantly share code, notes, and snippets.

@epietrowicz
Last active May 1, 2020 14:14
Show Gist options
  • Save epietrowicz/bb34045bc9083a962a9a92fc12eead4a to your computer and use it in GitHub Desktop.
Save epietrowicz/bb34045bc9083a962a9a92fc12eead4a to your computer and use it in GitHub Desktop.
renaming original functions
void _choose() async {
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
],
),
),
floatingActionButton: FloatingActionButton(
onPressed: () async {
_choose();
},
tooltip: 'Increment',
child: Icon(Icons.add),
),
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment