FLUTTER ECOSYSTEM

gtk-flutter/titlebar_buttons

一個提供 Linux 主題中大部分視窗裝飾的套件。

titlebar_buttons 專案封面
Stars
35
Forks
9
最近推送(UTC)
2023年1月13日
專案狀態
未封存
GTK Flutter GitHub avatar
GITHUB Organization

GTK Flutter ↗

GTK + Flutter

India
語言Dart

技術主題

此儲存庫發佈的套件

使用的依賴

依賴清單 7 項

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

Titlebar buttons

A package which provides most of the titlebar buttons from windows, linux and macos.

materia
breeze
osx_arc
yaru

Features

  • Easier to use and implement
  • Native looking titlebar buttons for close, minimize and maximize actions

Usage

Let's say you want a minimize button with look and feel of yaru theme, you can do that with DecoratedMinimizeButton which comes with a type property which accepts ThemeType (defaults to auto)

DecoratedMinimizeButton(
    type: ThemeType.yaru,
    onPressed: () {},
),

Similarly you can use DecoratedCloseButton for close button and DecoratedMaximizeButton for maximize button.

LICENSE

Mozilla Public License 2.0