OnTap typedef Null safety

OnTap = void Function(GetSnackBar snack)

Implementation

typedef OnTap = void Function(GetSnackBar snack);