BOT!

The Dart Bag-of-Tricks

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.

Highlights

bot -- default library

  • attached * A general model for supporting extensible, runtime-defined events and properties on supported objects. * This functionality is inspired by the Dependency Object/Property model in WPF/Silverlight.

  • collection * Array2d * CollectionUtil * Grouping * IndexIterator * ListBase * NumberEnumerable * ReadOnlyCollection

  • color * RgbColor, HslColor with associated conversions back and forth * RgbColor supports to/from hex

  • events
  • math * Mostly classes related to 2D geometry and graphicsgeometry-related classes * Coordinate, Box, Size, Vector, AffineTransfrom

async

  • FutureValue: an abstract model for async conversions via Future<T>
  • SendPortValue: an implementation of FutureValue using isolates.

html

hop

hop_tasks

retained

test

Versioning

Our goal is to follow Semantic Versioning.

Note: we have not released v1 (yet).

Authors

The BSD 2-Clause License

Copyright (c) 2012, The Dart Bag-of-Tricks project authors
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The views and conclusions contained in the software and documentation are those
of the authors and should not be interpreted as representing official policies,
either expressed or implied, of the FreeBSD Project.

Libraries

bot
bot_async
bot_html
bot_io
bot_retained
bot_test
bot_texture
hop
hop_tasks