RAL 1.23.0 RAL: ^1.23.0 copied to clipboard
Runtime abstraction layer
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add RAL
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
RAL: ^1.23.0
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:RAL/browser_detect_i.dart';
import 'package:RAL/html_i.dart';
import 'package:RAL/io/html_io.dart';
import 'package:RAL/io/js_io.dart';
import 'package:RAL/io/package_js_io.dart';
import 'package:RAL/js_i.dart';
import 'package:RAL/package_js_i.dart';