updateTouchContinue method

Future updateTouchContinue(
  1. DragUpdateDetails details
)

Implementation

Future updateTouchContinue(DragUpdateDetails details) async {

  //increment
  counterEvent = counterEvent + 1 ;

  //get info
  final start  = details.delta.dx;
  final end  = details.delta.dy;
  final howManyPixelScrollByUser =   start- end ;
  final pixelAfterSpeedResult = howManyPixelScrollByUser * speed;

  // Log.k( tag, "updateTouchContinue() - howManyPixelScrollByUser: " + howManyPixelScrollByUser.toString()
  //     + " / before totalOffset_oneWay: " + totalOffset_oneWay.toString()  );


  //set total
  totalOffset_oneWay += pixelAfterSpeedResult;

  //check touch end
  await _checkTouchEnd( counterEvent);

}