You must use Dartium (Version 50 or later) and Dart SDK (Version 1.24.0 or later)
Create a new Dart webapp project, add this as a pubspec.yaml dependency: dependencies: chronosgl: any
You also need the vector_math library which is the only library that ChronosGL is dependent on.
Copy the example from above and run it in Dartium.
It should look like this: <img src="http://i.imgur.com/Zb1XyCG.png" style="width: 600px;"/>
If you need dart:html, it is recommended to add dart:html as HTML like this, due to a naming conflict regarding Node: import 'dart:html' as HTML;
Add this to your package's pubspec.yaml file:
dependencies: chronosgl: ^3.4.0
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|3.4.0||Nov 15, 2018|
|3.3.0||Mar 28, 2018|
|3.2.3||Jan 1, 2018|
|3.2.2||Aug 11, 2017|
|3.2.1||Jul 30, 2017|
|3.2.0||Jul 23, 2017|
|2.1.2||Apr 17, 2017|
|2.1.0||Apr 2, 2017|
|2.0.1||Mar 30, 2017|
|2.0.0||Mar 27, 2017|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Dec 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: web
Document public APIs (-9.66 points)
1354 out of 1402 API elements (library, class, field or method) have no adequate dartdoc content. Good documentation improves code readability and discoverability through search.
lib/src/webhelper/midi_input.dart. (-1 points)
lib/src/webhelper/midi_input.dart reported 2 hints:
line 9 col 23: The value of the field '_currentControlValue' isn't used.
line 10 col 18: The value of the field '_justUpdatedControls' isn't used.
dartfmt to format
CHANGELOG.md. (-20 points)
Changelog entries help clients to follow the progress in your code.
The description is too short. (-20 points)
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Maintain an example.
None of the files in your
example/ directory matches a known example patterns. Common file name patterns include:
example.dart or you could also use
chronosgl.dart. Packages with multiple examples should use