FLUTTER ECOSYSTEM

chrome_extension

A library for accessing the `chrome.*` APIs available in Chrome extensions.

Latest version
0.4.0
30-day downloads
4K
Likes
65
Pub points
140

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

A Dart library that enables access to Chrome extension APIs such as `chrome.runtime`, `chrome.storage`, and `chrome.tabs` within Flutter web applications. Designed specifically for developers building Chrome extensions using Flutter, it provides a type-safe interface to interact with browser-level functionality. The package bridges the gap between Flutter's web capabilities and native Chrome extension features, allowing seamless integration of extension-specific behaviors like background scripts, popup interactions, and storage management. It is maintained by xaha.dev and hosted on GitHub for transparency and community contributions.

Use cases
  • Building Chrome extensions with Flutter
  • Accessing browser storage in web apps
  • Managing tabs and runtime events
  • Creating popup interfaces
  • Implementing background services
Key features
  • Direct access to chrome.* APIs
  • Type-safe Dart wrappers
  • Web-only compatibility
  • GitHub-hosted source code
  • Simple pub add integration
Suitable for
  • Flutter web developers
  • Chrome extension creators
  • Browser automation projects
  • Cross-platform extension tools
  • Dart-focused web app builders
Considerations
  • Only works on web platform
  • Requires Chrome extension manifest setup
  • Limited to Chrome-specific features
  • Not compatible with non-Chrome browsers
  • Depends on JavaScript interop
Supported platformsWeb

Install package

flutter pub add chrome_extension

Categories

Source repository

Related projects

No data available yet.