Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

MikeMitterer/dart-material-design-lite

Repository files navigation

depreciated

I'm moving all my packages to TypeScript!

Thank God I finally made this decision...

Material Design for Dart

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

Web

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.

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

About

Material Design Lite Components, Directives + SPA with HTML, CSS + Dart

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •