OnTap typedef Null safety

OnTap = void Function(GetBar<Object> snack)

Implementation

typedef OnTap = void Function(GetBar snack);