showAlert static method Null safety

Future<void> showAlert(
  1. {dynamic title,
  2. dynamic content,
  3. List<AlertAction>? actions,
  4. IndexCallback? callback}
)

Shows alert with title, content and actions.