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.