v0.0.3panels
Panels 是一个 Flutter 包,旨在提供一组有用的桌面 UI 面板,这些面板可以像我们期望的更强大的桌面应用程序一样移动、停靠和分组。
BlankSTDIO/panels open-source repository details.
{"sdk":"flutter"}以下为英文项目原文快照,最新内容请访问 GitHub。
Pub Version (including pre-releases)
Panels is a flutter package that aims to provide a set of useful desktop UI panels that can move around, dock and tab like we expect in more robust desktop applications.
ezgif com-gif-maker
| ThemeData.light() | ThemeData.dark() |
|---|---|
| image | image |
| ThemeData.light() | ThemeData.dark() |
|---|---|
| image | image |
There are 10 Mouse Regions and listeners (All sides and corners + The big one in the middle + the draggable) that change the look of the mouse according to their function. Windows can be clicked on in any of these regions to become selected (put on top).
ezgif com-gif-maker (1)
There is an InheritedWidget called Panels which is created by a StatefulWidget called PanelsManager.
The children of the panels manager are put into a stack.
Please see the examples directory for an example.