SnapCallback typedef Null safety

SnapCallback = void Function(Offset offset)

Implementation

typedef SnapCallback = void Function(Offset offset);