InkWell constructor Null safety

const InkWell(
  1. {Key? key,
  2. Widget? child,
  3. Callback? onTap,
  4. Callback? onDoubleTap,
  5. Callback? onLongPress,
  6. Callback? onTapCancel,
  7. BoolSelectionCallback? onHighlightChanged,
  8. BoolSelectionCallback? onHover,
  9. MouseCursor? mouseCursor,
  10. Color? focusColor,
  11. Color? hoverColor,
  12. Color? highlightColor,
  13. MaterialStateProperty? overlayColor,
  14. Color? splashColor,
  15. double? radius,
  16. BorderRadius? borderRadius,
  17. ShapeBorder? customBorder,
  18. bool? enableFeedback,
  19. bool excludeFromSemantics,
  20. bool canRequestFocus,
  21. BoolSelectionCallback? onFocusChange,
  22. bool autofocus}
)

Implementation

const factory InkWell(
    {final Key? key,
    final Widget? child,
    final Callback? onTap,
    final Callback? onDoubleTap,
    final Callback? onLongPress,
    final Callback? onTapCancel,
    final BoolSelectionCallback? onHighlightChanged,
    final BoolSelectionCallback? onHover,
    final MouseCursor? mouseCursor,
    final Color? focusColor,
    final Color? hoverColor,
    final Color? highlightColor,
    final MaterialStateProperty? overlayColor,
    final Color? splashColor,
    final double? radius,
    final BorderRadius? borderRadius,
    final ShapeBorder? customBorder,
    final bool? enableFeedback,
    final bool excludeFromSemantics,
    final bool canRequestFocus,
    final BoolSelectionCallback? onFocusChange,
    final bool autofocus}) = _$InkWell;