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:
@@ -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,
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user