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

套件詳情v2.1.3

boxicons

一個非常美麗且高品質的圖示庫,包含1500多個圖示,以及此外掛可協助在Flutter中使用Boxicons圖示庫。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
675
喜歡數
24
Pub 分數
140

安裝套件

flutter pub add boxicons

套件介紹

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

Boxicons 是一個 Flutter 插件,可無縫整合 Boxicons 圖示庫,提供超過 1500 個高品質、可自訂的圖示。專為尋求現代且一致視覺語言的開發者設計,它透過乾淨直覺的 API 簡化跨多個平台的圖示使用。該插件支援所有主要的 Flutter 平台,包括 Android、iOS、Web、macOS、Windows 和 Linux,確保跨平台的一致性。憑藉其輕量級設計與廣泛的圖示集,Boxicons 在不增加顯著開銷的情況下提升 UI 美學。

適用情境

  • 為移動和網路應用添加可擴展的圖示
  • 在多個平台上建立一致的使用者介面
  • 透過大型圖示庫增強應用視覺效果
  • 在儀表板中整合現代簡約圖示
  • 在導航欄和按鈕中使用圖示

主要特色

  • 1500+ 高品質圖示
  • 跨平台支援
  • 透過 pub.dev 實現輕鬆整合
  • 可自定圖標大小和顏色
  • 輕量且高效
  • 支援填滿與輪廓樣式

適合對象

  • Flutter 開發者建構跨平台應用
  • 重視視覺一致性的設計師與開發人員
  • 需要大型且維護良好的圖示集的專案
  • 需要現代、極簡圖示的應用程式

使用建議

  • 初始設定需要互聯網連接,透過 pub.dev
  • 僅限 Boxicons 的預定義圖標集
  • 沒有內建的圖示搜尋功能
  • 使用完整的圖示集可能會略微增加打包大小

原始 README

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

Boxicons For Flutter

Easy to use 1500+ Icon from Boxicons.

Instalation

In the dependencies: section of your pubspec.yaml, add the following line:

boxicons: <latest_version>

Usage

You can use it very easily. For example:

Icon(Boxicons.bx_home_smile)
import 'package:flutter/material.dart';
import 'package:boxicons/boxicons.dart';

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return IconButton(
        // Use Boxicons
        icon: Icon(Boxicons.bx_home_smile),
        onPressed: () {
            print('its done');
        }
    );
  }
}

Info

Announcing Boxicons v2.0.9!

  • Fixed the errors with a few svgs, added viewbox

License

MIT

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。