Viewing version 1.0.0. Open the latest package page.

window_decorations

1.0.0

A package which provides most of the window decorations from linux themes.

This package is discontinued upstream.

Download archive

Readme

Window Decorations

A package which provides most of the window decorations from linux themes.

materia
breeze
osx_arc
yaru

Features

  • Easier to use and implement
  • Native looking window 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

GNU LESSER GENERAL PUBLIC LICENSE

Changelog

1.0.0

  • Bump flutter_svg version
  • Update Pop os buttons

0.9.8

  • Bump flutter_svg version

0.9.5

  • Fix when themeType is not supplied

0.9.2

  • Add windowDecor object to simplify usage with gtk package

0.9.1

  • Made type property nullable for buttons

0.9.0

  • Update gsettings

0.5.5

  • Update README
  • Update License

0.4.0

  • Changed cursor back to normal position
  • Format decorated button file

0.3.0+1

  • Dispose Settings after used.

0.3.0

  • Add Theme type auto detect mode.

0.2.0

  • Switch b/w light and dark variants of buttons automatically.
  • Update Documentation

0.1.0+1

  • Update README

0.1.0

  • Init Release

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'window_decorations:1.0.0'
pubspec.yaml
name: window_decorations
description: A package which provides most of the window decorations from linux themes.
version: 1.0.0
homepage: https://github.com/prateekmedia/window_decorations

environment:
  sdk: ">=2.12.0 <3.0.0"
  flutter: ">=1.17.0"

dependencies:
  flutter:
    sdk: flutter
  dbus: ">=0.6.6 <1.0.0"
  flutter_svg: ">=1.0.0 <2.0.0"
  gsettings: ">=0.2.1 <1.0.0"

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^1.0.0

flutter:
  assets:
    - assets/themes/adwaita/
    - assets/themes/ambiance/
    - assets/themes/arc-dark/
    - assets/themes/arc-light/
    - assets/themes/breeze/
    - assets/themes/flat-remix/
    - assets/themes/materia-dark/
    - assets/themes/materia-light/
    - assets/themes/nordic/
    - assets/themes/osx-arc/
    - assets/themes/pop-dark/
    - assets/themes/pop-light/
    - assets/themes/prof-gnome/
    - assets/themes/radiance/
    - assets/themes/telinkrin/
    - assets/themes/united-dark/
    - assets/themes/united-light/
    - assets/themes/unity-dark/
    - assets/themes/unity-light/
    - assets/themes/vertex/
    - assets/themes/vimix/
    - assets/themes/yaru/

Version history

VersionPublishedArchiveSHA-256
0.1.0Cached · Upstream SHA-256 matchedDownload059fc22d…85a1e8
0.1.0+1Cached · Upstream SHA-256 matchedDownloaddb5215fb…e0107c
0.2.0Cached · Upstream SHA-256 matchedDownloadfe7dbfdc…61a150
0.3.0Cached · Upstream SHA-256 matchedDownload8868c9db…4d7476
0.3.0+1Cached · Upstream SHA-256 matchedDownload9639e0fd…f3368f
0.4.0Cached · Upstream SHA-256 matchedDownloadc96768a2…b1246d
0.5.5Cached · Upstream SHA-256 matchedDownloadbae9856d…0585e8
0.9.0Cached · Upstream SHA-256 matchedDownload158f8470…a54abf
0.9.1Cached · Upstream SHA-256 matchedDownload79f94efa…325908
0.9.2Cached · Upstream SHA-256 matchedDownload236acb52…b51ce3
0.9.5Cached · Upstream SHA-256 matchedDownloada91a17fe…dc40d2
0.9.8Cached · Upstream SHA-256 matchedDownload0d05b12c…fe13d7
1.0.0Cached · Upstream SHA-256 matchedDownload7f371107…da93f8
2.0.0Cached · Upstream SHA-256 matchedDownloadac754125…8e1cb3
2.0.0+1Cached · Upstream SHA-256 matchedDownload67f2f1d5…630b46
2.0.0+2Cached · Upstream SHA-256 matchedDownload943c7c7a…fba238
2.0.2+1Cached · Upstream SHA-256 matchedDownload7ea18d92…f5019d
2.0.3Cached · Upstream SHA-256 matchedDownload05232c87…2cccc5

Dependencies

dbus "\u003e=0.6.6 \u003c1.0.0"

flutter { "sdk": "flutter" }

flutter_svg "\u003e=1.0.0 \u003c2.0.0"

gsettings "\u003e=0.2.1 \u003c1.0.0"