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