SnackBarAction constructor Null safety

const SnackBarAction(
  1. {Key? key,
  2. Color? textColor,
  3. Color? disabledTextColor,
  4. required String label,
  5. required Callback onPressed}
)

Implementation

const factory SnackBarAction({
  Key? key,
  Color? textColor,
  Color? disabledTextColor,
  required String label,
  required Callback onPressed,
}) = _SnackBarAction;