Skip to content

Instantly share code, notes, and snippets.

@shubie
Created September 13, 2018 14:01
Show Gist options
  • Save shubie/4a14d142dcff1bcc191787215e67084b to your computer and use it in GitHub Desktop.
Save shubie/4a14d142dcff1bcc191787215e67084b to your computer and use it in GitHub Desktop.
GridView menuGrid() {
return GridView.count(
crossAxisCount: 2,
children: <Widget>[
makeMenuItem(Icons.message, "Messages"),
makeMenuItem(Icons.phone_forwarded, "Calls"),
makeMenuItem(Icons.dialpad, "Dial"),
makeMenuItem(Icons.contacts, "Contacts"),
makeMenuItem(Icons.more_horiz, "More"),
makeMenuItem(Icons.settings, "Settings")
],
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment