搜尋套件、儲存庫與 APP 分類

flutter_sfsymbols 封面
套件詳情v2.0.0

flutter_sfsymbols

一個新的 Flutter 套件。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
1470
喜歡數
44
Pub 分數
140

安裝套件

flutter pub add flutter_sfsymbols

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

一個 Flutter 套件,提供對 Apple 的 SF Symbols 的存取,讓開發者能輕鬆將可縮放的系統圖示整合至其 Flutter 應用程式中,適用於 iOS、Android、Web、macOS、Windows 與 Linux。此套件提供簡單的 API,可透過名稱參考 SF Symbols,確保圖示風格一致並適應平台設計語言。支援動態調整大小與色彩自訂,非常適合打造精緻、原生風格的使用者介面。專注於效能與跨平台相容性,簡化圖示管理,無需外部資源。

適用情境

  • 在跨平台應用中整合原生 iOS 風格圖示
  • 在 Apple 與非 Apple 平台上建立一致的使用者介面
  • 透過使用系統圖示減少應用程式封裝大小
  • 透過可擴展的向量圖示提升可存取性
  • 設計具有動態圖示主題的自適應介面

主要特色

  • 直接存取 SF Symbols 程式庫
  • 跨平台支援(iOS、Android、Web、macOS、Windows、Linux)
  • 可縮放向量圖示
  • 透過命名參考實現輕鬆整合
  • 支援動態色彩與尺寸調整

適合對象

  • 針對蘋果生態系統的開發者
  • 使用原生美學構建跨平台應用的團隊
  • 專案優先考慮最小的資產開銷
  • 尋求一致圖示集的UI設計師
  • 需要可存取且與解析度無關的圖形的應用程式

使用建議

  • 僅限目標平台上可用的 SF 符號
  • 可能需要為非iOS平台提供回退方案
  • 並非所有符號在所有作業系統上的顯示效果都完全相同
  • 取決於底層平台的 SF 符號可用性
  • 最適合蘋果圖示風格與設計目標一致的應用程式

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

flutter_sfsymbols

A new Flutter package required SFSymbol icons.
This plugin support all ios and android devices.

Install

add flutter_sfsymbols into your pubspec.yaml

dependencies:
 flutter_sfsymbols: ^1.0.0

and you need add fonts into your pubspec.yaml too

fonts:
  - family: sficonsets
    fonts:
      - asset: packages/flutter_sfsymbols/fonts/sficonsets.ttf

All Icons

Find all icons at
https://framework7.io/icons/ You can also use Apple SF symbols tool to browse all icon sets.

Usage

import 'package:flutter_sfsymbols/flutter_sfsymbols.dart';

const Icon(SFSymbols.airplane),
const Icon(SFSymbols.ant_circle_fill),
const Icon(SFSymbols.app_badge_fill),

IMPORTANT

All SF Symbols shall be considered to be system-provided images as defined in the Xcode and Apple SDKs license agreements and are subject to the terms and conditions set forth therein. You may not use SF Symbols—or glyphs that are substantially or confusingly similar—in your app icons, logos, or any other trademark-related use. Apple reserves the right to review and, in its sole discretion, require modification or discontinuance of use of any Symbol used in violation of the foregoing restrictions, and you agree to promptly comply with any such request.

所屬分類

原始碼儲存庫

使用此套件的專案