showSnackBar method Null safety

ScaffoldFeatureController<SnackBar, SnackBarClosedReason> showSnackBar(
  1. SnackBar snackBar
)

Implementation

ScaffoldFeatureController<SnackBar, SnackBarClosedReason> showSnackBar(
  SnackBar snackBar,
) =>
    scaffoldMessenger.showSnackBar(snackBar);