touchUpdate method

TouchModel touchUpdate(
  1. Offset offset, {
  2. double force = 10,
  3. required bool isShow,
})

Implementation

TouchModel touchUpdate(
  Offset offset, {
  double force = 10,
  required bool isShow,
}) {
  return TouchModel(
    x: offset.dx,
    y: offset.dy,
    z: 0,
    force: force,
    isShow: isShow,
  );
}