1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

Adds analysis options to Veggie Seasons (#98)

This commit is contained in:
Andrew Brogdon
2019-07-01 10:26:50 -07:00
committed by GitHub
parent 2ec8cc3684
commit 4646f0fc8e
13 changed files with 65 additions and 42 deletions

View File

@@ -143,7 +143,7 @@ class VeggieCard extends StatelessWidget {
Widget build(BuildContext context) {
return PressableCard(
onPressed: () {
Navigator.of(context).push(CupertinoPageRoute(
Navigator.of(context).push<void>(CupertinoPageRoute(
builder: (context) => DetailsScreen(veggie.id),
fullscreenDialog: true,
));