flutter_desktop: update custom cursor lib & menubar margin & better callback for pinning menubar

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2022-09-13 19:10:55 -07:00
parent f4bc27f969
commit c5a78ce107
4 changed files with 54 additions and 27 deletions

View File

@@ -98,7 +98,7 @@ class _ConnectionTabPageState extends State<ConnectionTabPage> {
controller: tabController,
showTabBar: fullscreen.isFalse,
onWindowCloseButton: handleWindowCloseButton,
tail: AddButton().paddingOnly(left: 10),
tail: const AddButton().paddingOnly(left: 10),
pageViewBuilder: (pageView) {
WindowController.fromWindowId(windowId())
.setFullscreen(fullscreen.isTrue);