Material design components for AngularDart. Powering some of Google's most sophisticated and mission-critical applications.
This productive and stable set of widgets, contributed to by hundreds of Googlers, make debugging and deploying your app easier. Strict latency and testing policies make these widgets an excellent fit for projects using the Angular package.
NOTE: As of angular 5.0.0-alpha+1
dependency_overrides
are required:
dependency_overrides:
analyzer: ^0.31.0-alpha.1
This is because Angular is starting to use and support the Dart 2.0.0 SDK, which is evolving. We expect to no longer require overrides once we are at a beta release, but this is unlikely until sometime in early 2018.
This is a continually growing set of widgets. See the example gallery and the documentation for a full list. Recent additions include:
- Material Menu
- Material Auto-suggest Input
- Material Select Searchbox
At this time we are not taking pull requests, but please file an issue and we will work with you.
Officially supported browsers: The last two versions of Chrome, Edge, Firefox, and Safari.
- Example gallery
- AngularDart Components resources:
- AngularDart resources:
- Material Design site
For icons to appear, add the following icon font download to your page. Example
<link
rel="stylesheet"
type="text/css"
href="https://fonts.googleapis.com/icon?family=Material+Icons">
The styles of these components can be customized via Sass mixins.
- Add a dependency on the sass_builder package and add the transformer.
In your pubspec.yaml
:
dependencies:
sass_builder ^1.0.1 # update for the latest version
transformers:
- sass_builder
- angular
NOTE: Be sure you add the
sass_builder
transformer before theangular
transformer.
- Now you can import styles and mixins from this package via dart style package imports in your Sass files.
In your .scss
files:
@import 'package:angular_components/css/material/material';
.blue {
color: $mat-blue;
}
Our current work is summarized in the roadmap for this quarter.