FLUTTER ECOSYSTEM

virskor/flutter_sfsymbols

一個新的 Flutter 套件需要 SFSymbol 圖標。

flutter_sfsymbols 專案封面
Stars
31
Forks
2
最近推送(UTC)
2022年6月9日
專案狀態
已封存
Wayne GitHub avatar
GITHUB User

Wayne ↗

Wayne's github

Mingcui Software Open source group
語言DartKotlinSwiftObjective-C

此儲存庫發佈的套件

使用的依賴

依賴清單 2 項
  • flutter{"sdk":"flutter"}
  • flutter_test開發依賴{"sdk":"flutter"}

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

flutter_sfsymbols

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

https://github.com/virskor/flutter_sfsymbols/raw/master/icons.png

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.