パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v30.0.0

pigeon

Flutter とホストプラットフォーム間の通信を型安全かつ簡単にするためのコードジェネレーターツール。

macOSWindowsLinux
30日間ダウンロード
80.2万
いいね数
1260
Pub ポイント
160

パッケージをインストール

flutter pub add pigeon

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Pigeon は、Flutter とホストプラットフォーム(iOS、Android、macOS、Windows、Linux)間で型安全かつ効率的な通信を可能にするコード生成ツールです。メソッドチャネル用のボイラープレートコードを生成し、一貫性がありエラーのないデータシリアライゼーションを保証します。1つのDartファイルでAPIを定義することで、Pigeonは自動的にプラットフォーム固有の実装を生成し、手動でのコーディングやランタイムエラーの可能性を削減します。最小限のオーバーヘッドで堅牢で保守可能なプラットフォームとのやり取りを求める開発者に最適です。

用途

  • クロスプラットフォームプラグイン開発
  • 型安全なメソッドチャネル通信
  • プラットフォームインターフェースにおけるボイラープレートの削減
  • プラットフォーム固有のコード生成の自動化
  • Flutterとネイティブ機能の統合

主な機能

  • タイプセーフなプラットフォームインターフェースを生成します
  • 手動メソッドチャネル設定を削減
  • デスクトップを含む複数のプラットフォームをサポート
  • データのシリアライズを自動で処理します
  • 複雑なプラットフォーム相互作用を簡素化する

適している対象

  • プラグインを構築するFlutter開発者
  • コードの安全性を最優先とするチーム
  • 頻繁なプラットフォーム統合を必要とするプロジェクト
  • ボイラープレートを最小限に抑えたい開発者
  • デスクトップおよびモバイルでネイティブAPIを使用するアプリケーション

注意事項

  • コード生成ワークフローの理解が必要です
  • 設定に必要な初期セットアップ
  • メソッドチャネルベースの通信に限定
  • ビルド時間をわずかに増加させる可能性があります
  • 構造化されたプラットフォーム相互作用を必要とするプロジェクトに最適

元の 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

カテゴリー

依存関係

依存関係一覧 10 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

ランキング