パッケージ、リポジトリ、アプリカテゴリを検索

libadwaita のカバー
パッケージ詳細v2.0.2

libadwaita

Flutter用のLibadwaitaウィジェット。Gnome HIGに準拠し、すべてのプラットフォームで利用可能。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
181
いいね数
91
Pub ポイント
130

パッケージをインストール

flutter pub add libadwaita

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Libadwaita は、Flutter アプリケーションに GNOME のヒューマンインターフェースガイドライン(HIG)をもたらす Flutter ウィジェットライブラリです。Android、iOS、Web、macOS、Windows、Linux など、さまざまなプラットフォーム間でクロスプラットフォーム対応するように設計された、一貫性があり現代的な UI ツールキットを提供します。アクセシビリティ、使いやすさ、視覚的な調和を重視し、GNOME のデザイン原則に沿っています。GTK の libadwaita を基盤としており、Flutter のパフォーマンスや柔軟性を損なわずにネイティブのような体験を実現できます。

用途

  • GNOMEスタイルのUIでクロスプラットフォームデスクトップアプリを構築する
  • アクセシブルで一貫性のあるインターフェースの作成
  • Linux およびその他のデスクトップ環境向けのアプリを開発する
  • マルチプラットフォームプロジェクトでネイティブ風のコンポーネントを統合する

主な機能

  • GNOME HIG準拠のデザイン
  • クロスプラットフォーム対応
  • アクセシビリティに焦点を当てたウィジェット
  • 異なるプラットフォーム向けの適応型レイアウト
  • オープンソースで積極的にメンテナンスされています
  • Flutterとのシームレスな統合

適している対象

  • Linuxおよびデスクトッププラットフォームをターゲットにする開発者
  • GNOME デザイン基準に従うチーム
  • 複数のオペレーティングシステムにわたって一貫したUIを必要とするプロジェクト
  • アクセシビリティと使いやすさに重点を置いたアプリ

注意事項

  • 主流パッケージと比べてドキュメントが限られている
  • 非GNOMEテーマには追加のスタイル設定が必要になる場合があります
  • デスクトップを最優先とするアプリケーションに最適
  • モバイル専用または非常にカスタマイズされたUIには適していません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Libadwaita ❤️ Flutter

CI GitHub Super-Linter

Pub.dev License Maintainer

Libadwaita's widgets for Flutter. Following Gnome HIG and available on all platforms.

libadwaita example screenshot

NOTE: For getting colors from gtk 3.0 theme use version <=0.9.8+1

Features

  • Various Libadwaita widgets ported to flutter
  • Some new widgets are also available, Check example for more info
  • Compatible with various packages

Usage

  • This only provides widgets, for theming you should consider adwaita or yaru package.
  • If you want custom titlebar then you can follow the steps for that on libadwaita_bitsdojo package.
  • Here is the list of widgets imported from libadwaita library : widgets.dart.

See the example app in the example folder for more info.

Relavant Links

Additional information

This package works great with

adwaita / yaru
For theming

Optional packages
adwaita_icons

For Adwaita Icons

libadwaita_bitsdojo

Example:

import 'package:libadwaita_bitsdojo/libadwaita_bitsdojo.dart';

AdwHeaderBar(
  actions: AdwActions().bitsdojo,
//...
)
libadwaita_searchbar

Example:

import 'package:libadwaita_searchbar/libadwaita_searchbar.dart';

bool searchedTerm = '';

AdwSearchBar(
  onSubmitted: (str) => setState(() => searchedTerm = str),
  controller: const TextEditingController(),
//...
)
libadwaita_searchbar_ac

Example:

import 'package:libadwaita_searchbar_ac/libadwaita_searchbar_ac.dart';

bool searchedTerm = '';

AdwSearchBarAc(
  suggestions: const ['Hi', 'Hello'],
  onSubmitted: (str) => setState(() => searchedTerm = str),
  controller: const TextEditingController(),
//...
)
libadwaita_nativeshell

Example:

import 'package:libadwaita_nativeshell/libadwaita_nativeshell.dart';

AdwHeaderBar(
  actions: AdwActions().nativeshell(context),
//...
)
libadwaita_titlebar_buttons

Example:

import 'package:libadwaita_titlebar_buttons/libadwaita_titlebar_buttons.dart';

AdwHeaderBar(
  controls: AdwControls().titlebarButtons(),
//...
)

Classic API Docs

Contributors

Based on Insights ranking and the value of commits

  • @prateekmedia - Creator and Maintainer of this library
  • @simrat39 - Added various widgets and Improved example app
  • @MalcolmMielle - Worked on theming side of adwaita and created CI
  • @jesusrp98 - Added widgets like AdwButton, AdwAvatar and improved some widgets
  • @pablojimpas - Added very_good_analysis and Fixed some code

Support the development

To sustain the development of this library we need someone who can help this library either through code or by donating to it. Donation will help us to live up in the world of unmaintained open source packages and to dedicate more time in improving this to live up to the mark. We will also add the name of the contributors or the donaters in the README section.

To donate directly you can use below link, don't forget to leave a message there:

Buy Me A Coffee

License

Mozilla Public License 2.0

TLDR;

  • You are free to use this package in whatever app you want,
  • If you improve the package then you should submit your patches / improvements to this repository.

カテゴリー

依存関係

依存関係一覧 7 件

ソースリポジトリ

このパッケージを使用しているプロジェクト