Material Design Lite for Dart

A GUI library and framework to develop web apps in Dart.

www.material-design-lite.pub.

Logo

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!

IMPORTANT

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

    <link id="theme" rel="stylesheet"
        href="https://cdn.rawgit.com/MikeMitterer/dart-mdl-theme/v<latest mdl-dart version>/red-pink/material.min.css">
        
    <!-- Something like this: -->
    <link id="theme" rel="stylesheet"
        href="https://cdn.rawgit.com/MikeMitterer/dart-mdl-theme/v1.18.1/red-pink/material.min.css">
        

More on themes: http://styleguide.material-design-lite.pub/#/theming

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

Examples

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)

IMPORTANT!!!

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

###License

Copyright 2016 Michael Mitterer (office@mikemitterer.at),
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

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
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

Libraries

main

main

main

main

main

main

main

main

mdl

mdl.transformer

mdlanimation

mdlapplication

mdlcomponents

mdlcore

The core - handles the initialisation process and defines the base-class for all components

mdldemo

mdldialog

mdldirective

mdldnd

mdlflux

MdlFlux implements unidirectional flow in contrast to popular frameworks such as Angular or Ember. Even though two-directional bindings can be convenient, they come with a cost. It can be hard to deduce what's going on and why.

mdlform

mdlformatter

mdlmock

Helps testing MDL/Dart + DI

mdlobservable

mdltemplate

mdlutils