onSwipe property Null safety

Function onSwipe
final

Implementation

final Function onSwipe;