OutlinedButtonIcon constructor Null safety

const OutlinedButtonIcon(
  1. {Key? key,
  2. required Callback? onPressed,
  3. Callback? onLongPress,
  4. bool? autofocus,
  5. Clip? clipBehavior,
  6. required Widget icon,
  7. required Widget label}
)

Implementation

const factory OutlinedButtonIcon(
    {final Key? key,
    required final Callback? onPressed,
    final Callback? onLongPress,
    final bool? autofocus,
    final Clip? clipBehavior,
    required final Widget icon,
    required final Widget label}) = _$OutlinedButtonIcon;