es6_math 1.2.1 copy "es6_math: ^1.2.1" to clipboard
es6_math: ^1.2.1 copied to clipboard

Provides math functions from ES6 (ECMAScript 2015) that are currently missing in dart:math.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add es6_math

With Flutter:

 $ flutter pub add es6_math

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

dependencies:
  es6_math: ^1.2.1

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:es6_math/es6_math.dart';
1
likes
150
points
76
downloads

Publisher

verified publisherleadrdrk.com

Weekly Downloads

Provides math functions from ES6 (ECMAScript 2015) that are currently missing in dart:math.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on es6_math