widget 0.2.7+1


  • No substantive work has been done on Widget since 7 Dec 2013.
  • Widget used Bootstrap CSS without modification. The current model for Polymer styles does not allow this.
  • Widget is not compatible with the latest Polymer releases.

If you'd like to take over maintenance of this library, feel free to fork it. If you succeed in porting the components to the latest Polymer release, I'll be happy to give you publish access to the package on pub.dartlang.org.

Changelog - Dart Widgets

0.2.7 2013-08-06 (SDK r25788)

0.2.6+1 20 May 2013 (SDK r22879)

  • Updated to latest web_ui library

0.2.6 13 May 2013 (SDK 0.5.7+2 r22611)

  • Updates for latest SDK
  • Tweaks to test infrastructure

0.2.5 - 08 May 2013 (SDK 0.5.5 r22416)

Updated to lastest web_ui and SDK.

0.2.4 - 03 April 2013 (SDK 0.4.4+4 r20810)

Updated to lastest SDK.

0.2.3 - 26 March 2013 (SDK 0.4.3+1 r20444)

Updated to lastest SDK.

0.2.2 - 07 March 2013 (SDK 0.4.1 r19425)

Updated SDK and pub dependencies.

0.2.1 - 20 Feb 2013 (SDK r18717)

Updated everything to align with latest Dart SDK release. Also updated related libraries.

No other changes.

0.2.0 - 9 Feb 2013 (SDK r18300)

A lot more in-line documentation in libraries. Scripts harvest this data to populate the demo page.


  • BREAKING Removed HeaderedContent - An interesting sample, but pretty useless.
  • BREAKING Renamed Expander to Collapse
  • BREAKING Leveraging Twitter Bootstrap for almost all component styles.
    • Internal styles have been stripped away from most components.
    • The content model for most components has changed to be compatible with that of Bootstrap.

0.1.0 - 25 Jan 2013 - (SDK r17463)

  • Integrated all samples into one page.
  • Lot's of cleanup around samples and related code.
  • Moved to new Dart SDK and related libraries.


  • NEW! Modal
  • NEW! Alert
  • NEW! Swap is now a seperate component.
  • Removed a lot of state from individual components.
  • Moved 4 components--Alert, DropDown, Expander, and Modal--to implement new abstract class ShowHideComponent which standardizes methods, properties, and events


  • NEW! ModalManager

0.0.2 - 17 Jan 2013 - (SDK r16761)

  • Using build.dart to do a lot of auto-generated content in the component sample.


  • NEW! SlideEffect
  • NEW! Swapper


  • NEW! Tabs
  • NEW! Carousel
  • Better about checking defaultPrevented and using preventDefault on events

0.0.1 - 14 Jan 2013 (SDK r16761)

First release. Crazy pre-alpha. Play with ShowHide and the associated effects.

1. Depend on it

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

  widget: "^0.2.7+1"

2. Install it

You can install packages from the command line:

$ 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:widget/widget.dart';


A set of reusable Web Components for Dart applications


Email kevin@thinkpixellab.com Kevin Moore





Source code (hyperlinked)