The emptyFunctionIndex that is used when no onSwipe callback is provided is missing the direction parameter.
This will throw a NoSuchMethodError:
The following NoSuchMethodError was thrown while notifying status listeners for AnimationController:
Closure call with mismatched arguments: function 'emptyFunctionIndex'
Receiver: Closure: (int, AppinioSwiperDirection) => void from Function 'emptyFunctionIndex': static.
Tried calling: emptyFunctionIndex(3, Instance of 'AppinioSwiperDirection')
Issue
The
emptyFunctionIndex
that is used when noonSwipe
callback is provided is missing the direction parameter. This will throw aNoSuchMethodError
:Solution
This PR will add the missing parameter.