Widget.filledTonalButtonIcon constructor Null safety

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