PopupMenuEntry.checked constructor Null safety

const PopupMenuEntry.checked(
  1. {Key? key,
  2. String? value,
  3. @Default(false) bool checked,
  4. @Default(true) bool enabled,
  5. EdgeInsets? padding,
  6. @Default(48.0) double height,
  7. MouseCursor? mouseCursor,
  8. Widget? child}
)

Implementation

const factory PopupMenuEntry.checked({
  Key? key,
  String? value,
  @Default(false) bool checked,
  @Default(true) bool enabled,
  EdgeInsets? padding,
  @Default(48.0) double height,
  MouseCursor? mouseCursor,
  Widget? child,
}) = CheckedPopupMenuItem;