storeFloatingDotPos method
防抖存储位置,避免拖拽时频繁写入
Implementation
void storeFloatingDotPos(double x, double y) {
_posDebounceTimer?.cancel();
_posDebounceTimer = Timer(const Duration(milliseconds: 300), () async {
await (await _sp).setString(_kFloatingPos, '$x,$y');
});
}