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

套件詳情v1.3.6

vector_graphics_compiler

一個編譯器,用於將 SVG 轉換為 `package:vector_graphics` 所使用的二進位格式。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
696萬
喜歡數
124
Pub 分數
140

安裝套件

flutter pub add vector_graphics_compiler

套件介紹

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

vector_graphics_compiler 套件是一項工具,可將 SVG(可縮放矢量圖形)檔案轉換為 `package:vector_graphics` 庫所使用的緊湊二進位格式。這使得在 Flutter 應用程式中於多個平台(包括 Android、iOS、Web、macOS、Windows 及 Linux)高效地執行時渲染矢量圖形成為可能。透過事先編譯 SVG 檔案,可減少應用程式大小並提升效能,較於在執行階段解析 SVG 檔案更具優勢。此編譯器專為希望嵌入高品質、可縮放矢量資源,同時不犧牲速度或套件大小的開發者設計。

適用情境

  • 在Flutter應用中嵌入優化向量圖形
  • 透過預編譯 SVG 來減少應用程式套件大小
  • 改進向量渲染的執行時間效能
  • 支援多平台向量圖形
  • 在建構管道中自動化 SVG 轉二進制的轉換
  • 與 CI/CD 工作流程整合

主要特色

  • 將 SVG 轉換為二進制格式
  • 為執行時使用優化向量圖形
  • 支援所有主要的 Flutter 平台
  • 與 Flutter 的建構系統整合
  • 提供命令列介面
  • 比執行時SVG解析更快的渲染

適合對象

  • 使用向量圖形的Flutter開發人員
  • 需要小包大小的應用
  • 性能敏感的 UI 與可擴展資源
  • Teams automating asset processing
  • 面向多個平台的開發者
  • 具有大量 SVG 資產的項目

使用建議

  • 建構過程中需要設定
  • SVG 必須在執行時之前進行處理
  • 僅限靜態向量資源
  • 不適用於動態SVG產生
  • 依賴於 `package:vector_graphics`
  • 建構時編譯開銷

原始 README

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

Flutter Packages

Release Status Flutter CI Status

This repo is a companion repo to the main flutter repo. It contains the source code for Flutter's first-party packages (i.e., packages developed by the core Flutter team). Check the packages directory to see all packages.

These packages are also available on pub.

Issues

Please file any issues, bugs, or feature requests in the main flutter repo. Issues pertaining to this repository are labeled "package".

Contributing

If you wish to contribute a new package to the Flutter ecosystem, please see the documentation for developing packages. You can store your package source code in any GitHub repository (the present repo is only intended for packages developed by the core Flutter team). Once your package is ready you can publish to the pub repository.

If you wish to contribute a change to any of the existing packages in this repo, please review our contribution guide, and send a pull request.

Packages

These are the packages hosted in this repository:

Package Pub Points Usage Issues Pull requests
animations pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
camera pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
cross_file pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
cupertino_icons pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
cupertino_ui pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
espresso pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
extension_google_sign_in_as_googleapis_auth pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
file_selector pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
flutter_lints pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
flutter_plugin_android_lifecycle pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
flutter_svg pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
flutter_svg_test pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
go_router pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
go_router_builder pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_adsense pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_fonts pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_maps_flutter pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_sign_in pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
image_picker pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
interactive_media_ads pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
in_app_purchase pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
local_auth pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
material_ui pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
metrics_center pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
path_parsing pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
path_provider pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
pigeon pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
pointer_interceptor pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
plugin_platform_interface pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
quick_actions pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
google_identity_services_web pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
rfw pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
shared_preferences pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
two_dimensional_scrollables pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
url_launcher pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
vector_graphics pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
vector_graphics_codec pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
vector_graphics_compiler pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
video_player pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
web_benchmarks pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
webview_flutter pub package pub points downloads GitHub issues by-label GitHub pull requests by-label
xdg_directories pub package pub points downloads GitHub issues by-label GitHub pull requests by-label

所屬分類

依賴

依賴清單 7 項

原始碼儲存庫

使用此套件的專案