MaterialIconButtonData constructor Null safety

MaterialIconButtonData(
  1. {Key? widgetKey,
  2. Widget? icon,
  3. void onPressed(
      )?,
    1. EdgeInsets? padding,
    2. Color? color,
    3. Color? disabledColor,
    4. AlignmentGeometry? alignment,
    5. Color? highlightColor,
    6. double? iconSize = 24.0,
    7. Color? splashColor,
    8. String? tooltip,
    9. Color? focusColor,
    10. Color? hoverColor,
    11. FocusNode? focusNode,
    12. bool? autofocus,
    13. bool? enableFeedback,
    14. VisualDensity? visualDensity,
    15. BoxConstraints? constraints,
    16. double? splashRadius,
    17. MouseCursor? mouseCursor}
    )

    Implementation

    MaterialIconButtonData({
      Key? widgetKey,
      Widget? icon,
      void Function()? onPressed,
      EdgeInsets? padding,
      Color? color,
      Color? disabledColor,
      this.alignment,
      this.highlightColor,
      this.iconSize = 24.0,
      this.splashColor,
      this.tooltip,
      this.focusColor,
      this.hoverColor,
      this.focusNode,
      this.autofocus,
      this.enableFeedback,
      this.visualDensity,
      this.constraints,
      this.splashRadius,
      this.mouseCursor,
    }) : super(
            widgetKey: widgetKey,
            icon: icon,
            onPressed: onPressed,
            padding: padding,
            color: color,
            disabledColor: disabledColor,
          );