Search packages, repositories and app categories

titlebar_buttons cover
Package detailsv1.0.0

titlebar_buttons

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

AndroidiOSmacOSWindowsLinux
30-day downloads
1.2K
Likes
35
Pub points
140

Install package

flutter pub add titlebar_buttons

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The titlebar_buttons package offers a set of standard window title bar buttons for desktop applications on Windows, Linux, and macOS. It provides consistent, platform-appropriate controls such as minimize, maximize, close, and restore, enhancing the native look and feel of Flutter desktop apps. Designed to align with operating system conventions, it simplifies UI development by abstracting platform-specific button behaviors into a unified API. The package is ideal for developers aiming to deliver polished desktop experiences without manual styling or complex logic.

Use cases

  • Creating native-like desktop app interfaces
  • Adding standard window controls in Flutter apps
  • Improving user experience on Windows, Linux, and macOS
  • Building cross-platform desktop applications
  • Customizing window management without platform-specific code
  • Integrating modern title bar designs

Key features

  • Cross-platform title bar buttons
  • Supports Windows, Linux, and macOS conventions
  • Minimal setup with Flutter integration
  • Consistent visual design across platforms
  • Easy customization of button appearance
  • Built-in handling of window state changes

Suitable for

  • Desktop app developers using Flutter
  • Projects targeting multiple desktop platforms
  • Apps requiring native window controls
  • Developers focused on UX consistency
  • Teams building professional-grade desktop software
  • Those wanting to avoid custom button implementations

Considerations

  • Not intended for mobile platforms (Android/iOS)
  • Requires desktop environment support
  • Limited to window control functionality
  • May need additional styling for full customization
  • Does not handle window resizing or positioning
  • Depends on underlying OS rendering behavior

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

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

Categories

Dependencies

Dependency list 4 items

Source repository

Projects using this package