dart2_constant 1.0.0+dart2 copy "dart2_constant: ^1.0.0+dart2" to clipboard
dart2_constant: ^1.0.0+dart2 copied to clipboard

discontinued
outdatedDart 1 only

A polyfill for Dart 2 constant names.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart2_constant

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

dependencies:
  dart2_constant: ^1.0.0+dart2

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:dart2_constant/async.dart';
import 'package:dart2_constant/convert.dart';
import 'package:dart2_constant/core.dart';
import 'package:dart2_constant/developer.dart';
import 'package:dart2_constant/html.dart';
import 'package:dart2_constant/io.dart';
import 'package:dart2_constant/isolate.dart';
import 'package:dart2_constant/math.dart';
import 'package:dart2_constant/svg.dart';
import 'package:dart2_constant/typed_data.dart';
import 'package:dart2_constant/web_gl.dart';
import 'package:dart2_constant/web_sql.dart';
0
likes
0
pub points
55%
popularity

Publisher

unverified uploader

A polyfill for Dart 2 constant names.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on dart2_constant