jet_cad_2d 0.7.3
jet_cad_2d: ^0.7.3 copied to clipboard
A pure-Dart 2D CAD engine and document model: a scene tree, columnar geometry, a spatial index with picking and snapping, undoable commands and a deterministic file format.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add jet_cad_2dWith Flutter:
$ flutter pub add jet_cad_2dThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
jet_cad_2d: ^0.7.3Alternatively, 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:jet_cad_2d/jet_cad_2d.dart';