pythagoras 1.0.0 copy "pythagoras: ^1.0.0" to clipboard
pythagoras: ^1.0.0 copied to clipboard

Pythagoras' theorem in Dart

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add pythagoras

With Flutter:

 $ flutter pub add pythagoras

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

dependencies:
  pythagoras: ^1.0.0

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:pythagoras/pythagoras.dart';
0
likes
130
points
11
downloads

Publisher

unverified uploader

Weekly Downloads

Pythagoras' theorem in Dart

Documentation

API reference

License

AGPL-3.0 (license)

More

Packages that depend on pythagoras