web 0.0.1 copy "web: ^0.0.1" to clipboard
web: ^0.0.1 copied to clipboard

outdatedDart 1 only

Web browser APIs exported to Dart through JavaScript interop. Libraries currently only work with Dart4Web

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add web

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  web: ^0.0.1

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:web/chrome.dart';
import 'package:web/deprecated.dart';
import 'package:web/es3.dart';
import 'package:web/es5.dart';
import 'package:web/es6.dart';
import 'package:web/fetchapi.dart';
import 'package:web/fileapi.dart';
import 'package:web/flash.dart';
import 'package:web/gecko_css.dart';
import 'package:web/gecko_dom.dart';
import 'package:web/gecko_event.dart';
import 'package:web/gecko_xml.dart';
import 'package:web/html5.dart';
import 'package:web/ie_css.dart';
import 'package:web/ie_dom.dart';
import 'package:web/ie_event.dart';
import 'package:web/ie_vml.dart';
import 'package:web/intl.dart';
import 'package:web/iphone.dart';
import 'package:web/mediasource.dart';
import 'package:web/page_visibility.dart';
import 'package:web/v8.dart';
import 'package:web/w3c_anim_timing.dart';
import 'package:web/w3c_audio.dart';
import 'package:web/w3c_batterystatus.dart';
import 'package:web/w3c_css.dart';
import 'package:web/w3c_css3d.dart';
import 'package:web/w3c_device_sensor_event.dart';
import 'package:web/w3c_dom1.dart';
import 'package:web/w3c_dom2.dart';
import 'package:web/w3c_dom3.dart';
import 'package:web/w3c_elementtraversal.dart';
import 'package:web/w3c_encoding.dart';
import 'package:web/w3c_event.dart';
import 'package:web/w3c_event3.dart';
import 'package:web/w3c_geolocation.dart';
import 'package:web/w3c_indexeddb.dart';
import 'package:web/w3c_navigation_timing.dart';
import 'package:web/w3c_range.dart';
import 'package:web/w3c_rtc.dart';
import 'package:web/w3c_selectors.dart';
import 'package:web/w3c_serviceworker.dart';
import 'package:web/w3c_webcrypto.dart';
import 'package:web/w3c_xml.dart';
import 'package:web/webgl.dart';
import 'package:web/webkit_css.dart';
import 'package:web/webkit_dom.dart';
import 'package:web/webkit_event.dart';
import 'package:web/webkit_notifications.dart';
import 'package:web/webstorage.dart';
import 'package:web/window.dart';
161
likes
0
points
6.33M
downloads

Publisher

verified publisherdart.dev

Weekly Downloads

Web browser APIs exported to Dart through JavaScript interop. Libraries currently only work with Dart4Web

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

func, js

More

Packages that depend on web