Flutterには、pub.devからの豊富なパッケージとプラグインのエコシステムがあり、UIコンポーネントからデバイス機能、バックエンド統合まで、機能を追加します。パッケージを効果的に使用し、ネイティブ機能のプラグインを理解することは、生産的な開発に不可欠です。
パッケージ vs プラグイン
PACKAGE → pure Dart code adding functionality (e.g. http, provider, intl)
PLUGIN → a package that also includes PLATFORM-SPECIFIC native code (iOS/Android),
bridging to native device features (e.g. camera, geolocation, sensors, Bluetooth)
→ Plugins let Flutter access native platform capabilities.
パッケージの追加と使用
