chrome 0.5.1 copy "chrome: ^0.5.1" to clipboard
chrome: ^0.5.1 copied to clipboard

outdatedDart 1 only

An library for accessing the Chrome APIs in a packaged app or extension.

chrome.dart #

An library for accessing the Chrome APIs in a packaged app or extension.

Build Status

Installing #

Add this to your package's pubspec.yaml file:

dependencies:
  chrome: any

Using the library #

import 'package:chrome/chrome_app.dart' as chrome;

void main() {
  chrome.runtime.getPlatformInfo().then((Map m) {
    print(m.toString());
  });
}

Also, see the FAQ.

Documentation #

Documentation is available at:

Breaking Changes #

For version 0.5.0, we removed the older chrome.socket API in favor of the new chrome.sockets API. In order to continue using the older API, you can reference it directly via an import:

import 'package:chrome/gen/socket.dart';
3
likes
0
pub points
24%
popularity

Publisher

unverified uploader

An library for accessing the Chrome APIs in a packaged app or extension.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on chrome