CurrentUpdateTypeCallback typedef

CurrentUpdateTypeCallback = void Function(UpdateType updateType)

Callback to provide the current UpdateType

Returns an UpdateType value.

Simple Usage :

Create your own method

updateChangeCallback(UpdateType type) {
  ...performActions
}

add this methods as callback to LiquidSwipe.currentUpdateTypeCallback

    LiquidSwipe(
      pages: pages,
      currentUpdateTypeCallback: updateChangeCallback,
    ),

Implementation

typedef CurrentUpdateTypeCallback = void Function(UpdateType updateType);