Material design components for AngularDart. Powering some of Google's most sophisticated and mission-critical applications.
The AngularDart Components Gallery contains live examples and documentation.
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.
This is a continually growing set of widgets. Recent additions include:
- Material Slider
- Material Datepicker
- Material Menu
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.
build_runner
support
Package As of angular: 5.0.0-alpha+5 the pub transformer has been removed in favor of code generation through package build. To build your project with build_runner:
- Add two dev dependencies to your
pubspec.yaml
file:
dev_dependencies:
build_runner: ^0.8.6
build_web_compilers: ^0.4.0
- Run
pub get
on your package. - Build your package:
pub run build_runner build
Or run a local development server with a file watcher and incremental rebuilds:
pub run build_runner serve
Useful links
- AngularDart Components Gallery
- AngularDart Components resources:
- AngularDart resources:
- Material Design site
Required Icon Font
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">
Custom component styles
The styles of these components can be customized in your project with a component's provided Sass mixins.
- Add a dev dependency on the
sass_builder package to your
pubspec.yaml
:
dev_dependencies:
sass_builder: ^2.0.0 # update for the latest version
- 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;
}
Project Roadmap
Our current work is summarized in the roadmap for this quarter.