geometric_dart 0.0.2 copy "geometric_dart: ^0.0.2" to clipboard
geometric_dart: ^0.0.2 copied to clipboard

Simple geometric for dart and flutter. Inspired by a javascript package.

example/example.dart

import 'package:geometric_dart/geometric_dart.dart';

void main() {
  var geometric = Geometric();

  // line angle
  var angleTodegeree = geometric.angle.angleToDegrees(49);
  print(angleTodegeree);

  // line midpoint
  var lineMidpoint = geometric.line.lineMidpoint([
    [0, 2],
    [8, 8]
  ]);
  print(lineMidpoint);
}
1
likes
40
pub points
0%
popularity

Publisher

verified publisherworldtrollfootball.wtf

Simple geometric for dart and flutter. Inspired by a javascript package.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on geometric_dart