updateValue method

void updateValue({
  1. required double dx,
  2. required double dy,
})

Implementation

void updateValue({
  required double dx,
  required double dy,
}) {
  valueNotifier.value = Offset(dx, dy);
}