Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMigrate some material tests to nnbd #67477
Conversation
| @@ -96,8 +96,7 @@ abstract class PopupMenuEntry<T> extends StatefulWidget { | |||
| /// * [showMenu], a method to dynamically show a popup menu at a given location. | |||
| /// * [PopupMenuButton], an [IconButton] that automatically shows a menu when | |||
| /// it is tapped. | |||
| // ignore: prefer_void_to_null, https://github.com/dart-lang/sdk/issues/34416 | |||
| class PopupMenuDivider extends PopupMenuEntry<Null> { | |||
| class PopupMenuDivider extends PopupMenuEntry<Never> { | |||
gspencergoog
Oct 7, 2020
Contributor
Aww, I'm jealous: I haven't found a reason to use Never yet!
Aww, I'm jealous: I haven't found a reason to use Never yet!
3961a12
into
flutter:master

dart-lang/sdk#40146
#62886