The Dart Bag-of-Tricks ( BOT ) is hosted on pub.dartlang.org. Add the BOT package to your
pubspec.yaml file, selecting a version range that works with your version of the SDK. Always check the BOT page on pub to find the latest release.
See the changelog to find the version that works best for you.
Updated dev dependencies.
Updated doc location.
Add this to your package's pubspec.yaml file:
dependencies: bot_web: "^0.22.0+1"
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:
import 'package:bot_web/bot_html.dart'; import 'package:bot_web/bot_retained.dart'; import 'package:bot_web/bot_texture.dart';
|0.22.0+1||Oct 13, 2014|
|0.22.0||May 7, 2014|
|0.21.0+3||Apr 14, 2014|
|0.21.0+1||Feb 8, 2014|
|0.21.0||Nov 8, 2013|
|0.20.6||Oct 9, 2013|
|0.20.5||Sep 27, 2013|
|0.20.4||Jul 24, 2013|
|0.20.3||Jul 17, 2013|
|0.20.2||Jul 11, 2013|
We analyzed this package, and provided a score, details, and suggestions below.
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]
Detected platforms: web
Multiple platform identified in libraries.
Strong-mode analysis of
lib/src/bot_retained/canvas_thing.dartfailed with the following error:
line: 27 col: 25
The argument type 'Coordinate<num>' can't be assigned to the parameter type 'Point<double>'.
Strong-mode analysis of
lib/src/bot_texture/texture_input.dartfailed with the following error:
line: 28 col: 21
Couldn't infer type parameter 'T'.\n\nTried to infer 'dynamic' for 'T' which doesn't work:\n Type parameter 'T' declared to extend 'num'.\nThe type 'dynamic' was inferred from:\n Parameter 'x' declared as 'T'\n but argument is 'dynamic'.\n Parameter 'y' declared as 'T'\n but argument is 'dynamic'.\n\nConsider passing explicit type argument(s) to the generic.\n\n
Fix further 1 Dart files.
Similar analysis of the following files failed:
Fix issues reported by
dartanalyzerreported 3 error(s) and 0 warning(s).
Package is pre-v1 release.
While there is nothing inherently wrong with versions of
0.*.*, it usually means that the author is still experimenting with the general direction API.
Maintain an example.
None of the files in your
example/directory matches a known example patterns. Common file name patterns include:
example.dartor you could also use
|Dart SDK||>=1.0.0 <2.0.0|