FLUTTER ECOSYSTEM

gtk-flutter/titlebar_buttons

Linux テーマのほとんどをウィンドウデコレーションとして提供するパッケージです。

titlebar_buttons のプロジェクト画像
Stars
35
Forks
9
最終プッシュ(UTC)
2023/01/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