rustdesk/flutter
Jonathan Gilbert 246b5b93f8
Centralize debounce of save window pos and save window pos on close (#12987)
* Added method equals to class LastWindowPosition to compare the contents of instances.
Added storage to common.dart for remembering what window position data has previously been written.
Factored the actual save code from saveWindowPosition to _saveWindowPositionActual and updated saveWindowPosition to call it through a debouncer, and only if the window position data has actually changed since the last call in the same instance.
Added named parameter 'flush' to saveWindowPosition in common.dart, and to _saveFrame in tabbar_widget.dart, and updated the onWindowClosed handler in tabbar_widget.dart to call _saveFrame with flush: true, forcing an immediate save on close.
Removed the _saveFrame debouncer from tabbar_widget.dart.

* saveWindowPosition: don't reschedule debounce if it's already in flight

* Reworked the logic in saveWindowPosition to collapse a rapid series of updates into one save at the end.
2025-10-11 16:11:56 +08:00
..
android terminal works basically. (#12189) 2025-07-01 13:12:55 +08:00
assets opt dropdown button of connection page (#11086) 2025-03-11 16:29:02 +08:00
ios fix build error with latest xcode 2024-12-09 18:49:02 +08:00
lib Centralize debounce of save window pos and save window pos on close (#12987) 2025-10-11 16:11:56 +08:00
linux fix: linux, transparent window (#10192) 2024-12-05 17:26:34 +08:00
macos add team to osx 2025-08-07 18:09:09 +08:00
test view camera (#11040) 2025-03-10 21:06:53 +08:00
windows fix: build (#12968) 2025-09-19 17:20:53 +08:00
.gitattributes
.gitignore Refact. Build flutter web (#7472) 2024-03-22 13:16:37 +08:00
.metadata
analysis_options.yaml
build_android_deps.sh linux dynamic load libva (#10171) 2024-12-04 17:10:10 +08:00
build_android.sh
build_fdroid.sh Fix issues spotted during 1.3.7 fdroid build (#10570) 2025-01-22 09:26:03 +08:00
build_ios.sh fix some build command 2025-05-11 01:15:29 +08:00
ios_arm64.sh fix some build command 2025-05-11 01:15:29 +08:00
ios_x64.sh
ndk_arm64.sh enable ffmpeg native h26x software decoders for all platforms (#7750) 2024-04-18 13:12:45 +08:00
ndk_arm.sh enable ffmpeg native h26x software decoders for all platforms (#7750) 2024-04-18 13:12:45 +08:00
ndk_x64.sh
ndk_x86.sh flutter-build: Parameterize Android build matrix (#8907) 2024-07-31 20:38:00 +08:00
pubspec.lock fix: terminal, web, fonts (#12376) 2025-07-22 23:42:05 +08:00
pubspec.yaml feat: file transfer, resume (#12626) 2025-08-25 14:34:03 +08:00
README.md Punctuation correction (#6808) 2024-01-06 11:11:35 +08:00
run.sh https://github.com/rustdesk/rustdesk/pull/7971 2024-06-03 13:40:14 +08:00

flutter_hbb

A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples and guidance on mobile development, and a full API reference.