패키지, 저장소 및 앱 카테고리 검색

yaru 표지
패키지 상세v12.0.0

yaru

데스크톱 및 웹 애플리케이션을 구축하는 데 유용한 일반적인 Flutter 위젯입니다.

Linux
30일 다운로드
2만
좋아요
293
Pub 점수
150

패키지 설치

flutter pub add yaru

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Yaru는 일관되고 현대적인 디자인을 갖춘 데스크톱 및 웹 애플리케이션을 구축하기 위해 일반적인 위젯 모음을 제공하는 Flutter 패키지입니다. Ubuntu에서 설계한 Yaru 디자인 시스템과 일치하며, 리눅스 플랫폼에 최적화된 시각적으로 조화로운 컴포넌트를 제공하면서도 웹 및 기타 데스크톱 환경에서도 기능합니다. 이 패키지는 사용성, 접근성 및 플랫폼에 적합한 스타일링을 중시하여 UI 개발을 간소화합니다.

사용 사례

  • 크로스 플랫폼 데스크톱 앱 빌드
  • 통일된 외관을 가진 웹 인터페이스 만들기
  • Linux 네이티브 스타일의 Flutter 앱 개발
  • 디자인 시스템에서 UI 일관성 향상
  • 사전 스타일링된 위젯을 사용한 빠른 프로토타이핑

주요 기능

  • Linux용 플랫폼 최적화 위젯
  • 다양한 플랫폼 간 일관된 디자인 언어
  • 접근성 중심 컴포넌트
  • Ubuntu의 시각적 정체성과의 통합
  • 일반적인 패턴을 위한 즉시 사용 가능한 UI 요소

적합한 대상

  • 리눅스를 대상으로 하는 데스크톱 앱 개발자
  • 일관된 스타일을 찾는 웹 애플리케이션 디자이너
  • Ubuntu의 디자인 시스템을 사용하는 팀
  • 정교한 UI 컴포넌트가 필요한 플러터 프로젝트
  • 빠른 UI 구현을 목표로 하는 개발자

고려 사항

  • 주로 리눅스 환경을 위한 최적화
  • 기본 테마를 초과한 사용자 정의는 제한적입니다
  • 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 개

소스 저장소

이 패키지를 사용하는 프로젝트