universal_io 2.2.2 copy "universal_io: ^2.2.2" to clipboard
universal_io: ^2.2.2 copied to clipboard

Cross-platform 'dart:io' that adds browser support for HttpClient and some other "dart:io" APIs.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add universal_io
copied to clipboard

With Flutter:

 $ flutter pub add universal_io
copied to clipboard

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

dependencies:
  universal_io: ^2.2.2
copied to clipboard

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

Import it

Now in your Dart code, you can use:

import 'package:universal_io/io.dart';
copied to clipboard
245
likes
160
points
1.32M
downloads

Publisher

verified publisherdint.dev

Weekly Downloads

2024.06.25 - 2025.01.07

Cross-platform 'dart:io' that adds browser support for HttpClient and some other "dart:io" APIs.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

collection, meta, typed_data

More

Packages that depend on universal_io