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

yaru のカバー
パッケージ詳細v12.0.0

yaru

デスクトップおよびWebアプリケーションの構築に役立つ一般的なFlutterウィジェット。

Linux
30日間ダウンロード
2万
いいね数
293
Pub ポイント
150

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

flutter pub add yaru

パッケージ概要

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

Yaru は、一貫性があり現代的なデザインを持つデスクトップおよびWebアプリケーションの構築に適した一般的なウィジェットのコレクションを提供するFlutterパッケージです。Ubuntuによって設計され、Yaruデザインシステムと整合しており、Linuxプラットフォーム向けに最適化された視覚的に統一されたコンポーネントを提供しながら、Webや他のデスクトップ環境でも機能します。このパッケージは、使いやすさ、アクセシビリティ、プラットフォームに適したスタイリングを重視し、UI開発をスムーズにするように設計されています。

用途

  • クロスプラットフォームデスクトップアプリの構築
  • 統一された外観を持つウェブインターフェースの作成
  • LinuxネイティブスタイルのFlutterアプリの開発
  • デザインシステムにおけるUIの一貫性の向上
  • 事前スタイル化されたウィジェットによる迅速なプロトタイピング

主な機能

  • Linux用に最適化されたウィジェット
  • 複数プラットフォーム間での一貫したデザイン言語
  • アクセシビリティを重視したコンポーネント
  • Ubuntu のビジュアルアイデンティティとの統合
  • 一般的なパターン向けの即時使用可能なUI要素

適している対象

  • Linuxをターゲットとするデスクトップアプリ開発者
  • 一貫したスタイルを求めるWebアプリケーションデザイナー
  • Ubuntuのデザインシステムを使用するチーム
  • 洗練されたUIコンポーネントを必要とするFlutterプロジェクト
  • 迅速なUI実装を目指す開発者

注意事項

  • 主に Linux 環境向けに最適化されています
  • デフォルトのテーマを超えるカスタマイズは限られている
  • Ubuntuの美学と整合性のあるアプリに最適
  • 非Linuxプラットフォーム用に追加のスタイルが必要になる場合があります
  • モバイルアプリ開発を目的としていません

元の README

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

The official Flutter Yaru Theme and Widgets Suite

Pub Package

This repository and package contains:

  • flutter widgets useful for building desktop and web applications, following but also expanding the yaru theme for the gnome desktop in Ubuntu 22.04+.
  • a theme for widgets from material.dart and from this repository
  • a complete icon set for flutter apps following the yaru design language

LIVE DEMO IN YOUR BROWSER

screenshot screenshot screenshot

Contributing

  • for everything you need

    • flutter

      sudo apt -y install git curl cmake meson make clang libgtk-3-dev pkg-config && mkdir -p ~/development && cd ~/development && git clone https://github.com/flutter/flutter.git -b stable && echo 'export PATH="$PATH:$HOME/development/flutter/bin"' >> ~/.bashrc && source ~/.bashrc
      
    • VsCode

      sudo snap install code --classic
      
  • to work on the icons and then build the font, you need to install the icon_font_generator tool:

    dart pub global activate -sgit https://github.com/Jupi007/icon_font_generator.git --git-ref yaru
    
  • Source SVGs files are located inside ./icons. The final icon name is determined by subfolder_name + icon_name (Ex: icons/mimetype/text-plain.svg will be named mimetype_text_plain).

  • After modifying or adding icons, you must run the build script, which will generate the icon font:

    ./build-icons.sh
    

    or run

    yaru_icon_font_generator assets/icons assets/yaru_icons.otf --output-class-file=lib/src/yaru_icons.dart -r
    

Contributing new gtk<->Flutter theme mappings

  1. Add a new YaruVariant in variant.dart
  2. Add a new mapping into the resolveVariant method inside inherited_theme.dart

Copying or Reusing

The theme and widgets are licensed under Mozilla Public License Version 2.0.

The icons have mixed licencing. You are free to copy, redistribute and/or modify aspects of this work under the terms of each licence accordingly (unless otherwise specified).

The icon assets (any and all source .svg files or rendered .ttf font) are licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0 License.

Included scripts are free software licensed under the terms of the GNU General Public License, version 3.

カテゴリー

依存関係

依存関係一覧 11 件

ソースリポジトリ

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