PopupMenuItem constructor Null safety

const PopupMenuItem(
  1. {Key? key,
  2. String? value,
  3. Callback? onTap,
  4. bool enabled,
  5. double height,
  6. EdgeInsets? padding,
  7. TextStyle? textStyle,
  8. MouseCursor? mouseCursor,
  9. required Widget? child}
)

Implementation

const factory PopupMenuItem(
    {final Key? key,
    final String? value,
    final Callback? onTap,
    final bool enabled,
    final double height,
    final EdgeInsets? padding,
    final TextStyle? textStyle,
    final MouseCursor? mouseCursor,
    required final Widget? child}) = _$PopupMenuItem;