dropdown menu for tabs that cannot be displayed (#7918)

* The visibility threshold is 75%
* Used in remote, file transfer, port forward and cm

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2024-05-06 17:10:02 +08:00
committed by GitHub
parent 937cea5a01
commit f6223a6f71
5 changed files with 190 additions and 36 deletions

View File

@@ -99,7 +99,7 @@ class _FileManagerTabPageState extends State<FileManagerTabPage> {
body: DesktopTab(
controller: tabController,
onWindowCloseButton: handleWindowCloseButton,
tail: const AddButton().paddingOnly(left: 10),
tail: const AddButton(),
labelGetter: DesktopTab.tablabelGetter,
)),
);