Widget.filledButtonIcon constructor Null safety

const Widget.filledButtonIcon(
  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 Widget.filledButtonIcon({
  Key? key,
  required Callback? onPressed,
  Callback? onLongPress,
  bool? autofocus,
  Clip? clipBehavior,
  required Widget icon,
  required Widget label,
}) = FilledButtonIcon;