Material Design Lite Components, Directives + SPA with HTML, CSS + Dart
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
tool test: Test for Observable Apr 3, 2018
pubspec.yaml Change l10n dependency Apr 4, 2018

Material Design for Dart

A User Interface Library / GUI-Framework to
develop Progressive Web Apps (PWA) in Dart.


Homepage | PUB | Facebook | Kitchen Sink | GitHub | GibtHub WebSite + Samples

Version 2.0.x

I switch from the old, unsupported DI-Package to Dice
It's awesome - check it out.

Material Components for web

Google switched from MaterialDesignLite to Material Components for web
The Dart-Version makes the same move. I'm working on "Material Components for Dart"
Stay tuned - I'll make the move for you as smooth as possible.


MDL/Dart is also on Facebook

Material Design Lite lets you add a Material Design look and feel to your dynamic websites and web app. It doesn't rely on any JavaScript frameworks or libraries. Optimised for cross-device use, gracefully degrades in older browsers, and offers an experience that is accessible from the get-go.

Since v1.18 MDL/Dart is STRONG_MODE compliant!


If you use material.css from - don't forget to specify your MDL-Dart version in for your css-link

    <link id="theme" rel="stylesheet"
        href="<latest mdl-dart version>/red-pink/material.min.css">
    <!-- Something like this: -->
    <link id="theme" rel="stylesheet"

More on themes:

Check out the CHANGELOG! to see what's new.

Breaking changes in 1.18!

All mdl-js-xxx CSS-classes are gone! It's not necessary anymore to define e.g. mdl-button and! mdl-js-button for a MDL-Widget. The Widget-class is enough.

<!-- NEW -->
<button class="mdl-button mdl-button--colored mdl-ripple-effect">Flat</button>

<!-- OLD -->
<button class="mdl-button mdl-js-button mdl-button--colored mdl-ripple-effect">Flat</button>

Getting started

Here is a short guide to help you setting up your MDL/Dart page

Main features

  • 16 base components ready to use
  • 4 different Dialogs, AlertDialog, ConfirmDialog, Notification-Messages and Snackbar
  • Directives
  • Drag and Drop
  • Formatters
  • Mustache-Based Components (Template based)
  • Nice, ready to use, templates
  • Single Page Application
  • Routing
  • Dependency injection
  • Samples, samples, samples
  • Theming

Visit the website for a "Quick start" or check out the Kitchen Sink


Check out the samples
Download all the samples as TGZ from here

MDLFlux for Data-Handling

(REACT-like Actions, ActionBus, Dispatcher and DataStore)

Flux - Overview MDLFlux

MDLFlux in action: ToDO-Sample (Source)


All samples-sources are now on GH dart-material-design-lite-site

Features and bugs

Please file feature requests and bugs at the issue tracker.

More links


Copyright 2016 Michael Mitterer (,
IT-Consulting and Development Limited, Austrian Branch

    __  ___ ____   __    __ __   ____                __ 
   /  |/  // __ \ / /   / // /  / __ \ ____ _ _____ / /_
  / /|_/ // / / // /   / // /_ / / / // __ `// ___// __/
 / /  / // /_/ // /___/__  __// /_/ // /_/ // /   / /_  
/_/  /_//_____//_____/  /_/  /_____/ \__,_//_/    \__/  
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
either express or implied. See the License for the specific language
governing permissions and limitations under the License.

If this plugin is helpful for you - please (Circle) me or star this repo here on GitHub