Skip to main content

chrome_extension 0.5.0 copy "chrome_extension: ^0.5.0" to clipboard
chrome_extension: ^0.5.0 copied to clipboard

Platformweb

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

0.5.0 #

  • Support WebAssembly: the package can be compiled with dart compile wasm and flutter build web --wasm.
  • Remove the usages of the deprecated dart:js_util library.
  • runtime.sendMessage and tabs.sendMessage return null when the receiver doesn't send a response.
  • Require Dart 3.6.

0.4.0 #

  • Fix the package to work with Dart 3.5 & Flutter 3.24

0.3.1 #

  • Expose EventStream class.

0.3.0 #

  • Regenerate the bindings based on Chrome v122
  • Update JS binding for Dart 3.3
  • Require Dart SDK >= 3.3

0.2.0 #

  • Regenerate the bindings based on Chrome v116
  • Update JS binding for Dart 3.2
  • Require Dart SDK >= 3.2

0.1.2 #

  • Update the readme to give some tips on how to build Chrome extensions with Flutter.

0.1.1 #

  • Update the readme.

0.1.0 #

  • Initial implementation of the binding for the chrome.* APIs Each API is in its own dart file and can be used like:
import 'package:chrome_extension/alarms.dart';

void main() async {
  await chrome.alarms.create('MyAlarm', AlarmCreateInfo(delayInMinutes: 2));
}
65
likes
160
points
3.64k
downloads

Documentation

API reference

Publisher

verified publisherxaha.dev

Weekly Downloads

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

Repository (GitHub)
View/report issues

Topics

#chrome-extension #browser-extension #chrome #web #js-interop

Funding

Consider supporting this project:

www.buymeacoffee.com
github.com

License

BSD-2-Clause (license)

More

Packages that depend on chrome_extension