bot_web 0.22.0+1

  • Installing
  • Versions
  • 28


The Dart Bag-of-Tricks - Web

A collection of (mostly) general libraries to make working with Dart more productive.

Starting by porting bits of the PL javascript library and Google's Closure javascript library to enable some interesting scenarios.

Build Status

Projects using BOT

Try It Now

The Dart Bag-of-Tricks ( BOT ) is hosted on 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.

0.22.0 2014-05-06

  • Removing a mountain of deprecations from bot.

0.21.0+3 2014-04-14

  • Updated max dependency versions.
  • Fixes in 'tool' and 'test'

0.21.0 2013-11-08 (SDK 0.8.10+10_r30107)

  • Lastest SDK
  • Aligned with Dart V1 Pubspec Recommendations.
  • BREAKING Removed deprecated features from bot_web
  • Many APIs changed from taking Coordinate to taking Point.

0.20.6 2013-10-09 (SDK 0.8.1+2 r28355)

  • Latest SDK, updated bot package version

0.20.5 2013-09-27 (SDK r27991)

  • Latest SDK
  • A lot of infrastructure cleanup

0.20.4 2013-07-24 (SDK r25388)

  • Latest SDK

0.20.3 2013-07-11 (SDK r25017)

  • Updated pub dependencies

0.20.2 2013-07-11 (SDK r24898)

  • Updated pub dependencies
  • Tiny tweaks, but no functional changes

0.20.1 2013-04-29 (SDK r22072)

  • Fixes for latest SDK, updated pub dependencies.

0.20.0 2013-04-17 (SDK 0.4.7+3 r21604)

  • The grand split from BOT begins.
  • See the BOT Changelog for work leading up to the split.

1. Depend on it

Add this to your package's pubspec.yaml file:

  bot_web: "^0.22.0+1"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

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';
Version Uploaded Documentation Archive
0.22.0+1 Oct 13, 2014 Go to the documentation of bot_web 0.22.0+1 Download bot_web 0.22.0+1 archive
0.22.0 May 7, 2014 Go to the documentation of bot_web 0.22.0 Download bot_web 0.22.0 archive
0.21.0+3 Apr 14, 2014 Go to the documentation of bot_web 0.21.0+3 Download bot_web 0.21.0+3 archive
0.21.0+1 Feb 8, 2014 Go to the documentation of bot_web 0.21.0+1 Download bot_web 0.21.0+1 archive
0.21.0 Nov 8, 2013 Go to the documentation of bot_web 0.21.0 Download bot_web 0.21.0 archive
0.20.6 Oct 9, 2013 Go to the documentation of bot_web 0.20.6 Download bot_web 0.20.6 archive
0.20.5 Sep 27, 2013 Go to the documentation of bot_web 0.20.5 Download bot_web 0.20.5 archive
0.20.4 Jul 24, 2013 Go to the documentation of bot_web 0.20.4 Download bot_web 0.20.4 archive
0.20.3 Jul 17, 2013 Go to the documentation of bot_web 0.20.3 Download bot_web 0.20.3 archive
0.20.2 Jul 11, 2013 Go to the documentation of bot_web 0.20.2 Download bot_web 0.20.2 archive

All 13 versions...


This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • tool failures on Jan 21, 2018
  • Dart: 2.0.0-dev.15.0
  • pana: 0.10.0


Describes how popular the package is relative to other packages. [more]
0 / 100
Code health derived from static analysis. [more]
94 / 100
Reflects how tidy and up-to-date the package is. [more]
0 / 100
Overall score:
Weighted score of the above. [more]


Detected platforms: web

Multiple platform identified in libraries.


  • Fix lib/src/bot_retained/canvas_thing.dart.

    Strong-mode analysis of lib/src/bot_retained/canvas_thing.dart failed with the following error:

    line: 27 col: 25
    The argument type 'Coordinate<num>' can't be assigned to the parameter type 'Point<double>'.

  • Fix lib/src/bot_texture/texture_input.dart.

    Strong-mode analysis of lib/src/bot_texture/texture_input.dart failed 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:

    • lib/src/bot_html/resource_loader.dart
  • Fix issues reported by dartanalyzer.

    dartanalyzer reported 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: main.dart, example.dart or you could also use bot_web.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.0.0 <2.0.0
bot >=0.25.1 <0.28.0 0.27.0+2 0.28.0
logging >=0.9.0 <0.10.0 0.9.3 0.11.3+1
Dev dependencies
bot_test >=0.1.5
browser >=0.9.0 <0.11.0
hop >=0.31.0 <0.32.0
hop_unittest any
html5lib >=0.9.0 <0.13.0
unittest >=0.9.0 <0.12.0