GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Searching for packages
  • Package scoring and pub points
  • Using packages
  • Developing packages and plugins
  • Publishing a package
  • Using packages

This view

  • Original page
  • New address

GeezerVison is showing pub.dev — web | Dart package

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

Published 20 days ago • verified publisherdart.dev
SDKDartFlutter
Platformweb
242
→

Metadata

Lightweight browser API bindings built around JS interop.

More...

  • Readme
  • Changelog
  • Example
  • Installing
  • Versions
  • Scores

Dart CI pub package package publisher

Lightweight browser API bindings built around JS interop.

What's this? #

This package exposes browser APIs. It's generated from the Web IDL definitions and uses recent Dart language features for zero-overhead bindings.

This package is intended to replace dart:html and similar Dart SDK libraries. It will support access to browser APIs from Dart code compiled to either JavaScript or WebAssembly.

Usage #

import 'package:web/web.dart';

void main() {
  final div = document.querySelector('div')!;
  div.text = 'Text set at ${DateTime.now()}';
}

Migrating to package:web #

package:web is replacing dart:html and other web libraries as Dart's long-term web interop solution. To learn how to migrate from dart:html APIs to package:web, see our migration guide.

Generation #

This package is generated by web_generator. See the README for more details on the conventions used to generate this package and how to run the different tools to generate bindings and update various package dependencies.

242
likes
160
points
15.5M
downloads

Documentation

API reference

Publisher

verified publisherdart.dev

Weekly Downloads

Metadata

Lightweight browser API bindings built around JS interop.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

More

Packages that depend on web

← Metadata

242
likes
160
points
15.5M
downloads

Documentation

API reference

Publisher

verified publisherdart.dev

Weekly Downloads

Metadata

Lightweight browser API bindings built around JS interop.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

More

Packages that depend on web

Back

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.