FLUTTER ECOSYSTEM

gtk-flutter/titlebar_buttons

Um pacote que fornece a maioria das decorações de janela dos temas do Linux.

Capa do projeto titlebar_buttons
Stars
35
Forks
9
Último push (UTC)
13 de jan. de 2023
Status do projeto
Ativo
GTK Flutter GitHub avatar
GITHUB Organization

GTK Flutter ↗

GTK + Flutter

India
LinguagensDart

Tópicos técnicos

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 7 itens

README original

Texto original em inglês. Visite o GitHub para a versão atual.

Expandir / recolher 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