Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jifalops/mdc_web
Dart wrapper for the material-components-web javascript library.
https://github.com/jifalops/mdc_web
Last synced: about 2 months ago
JSON representation
Dart wrapper for the material-components-web javascript library.
- Host: GitHub
- URL: https://github.com/jifalops/mdc_web
- Owner: jifalops
- License: mit
- Created: 2018-10-07T05:22:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-26T03:19:51.000Z (over 3 years ago)
- Last Synced: 2023-09-06T18:27:54.777Z (over 1 year ago)
- Language: JavaScript
- Size: 1.12 MB
- Stars: 18
- Watchers: 3
- Forks: 6
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[![pub points](https://badges.bar/mdc_web/pub%20points)](https://pub.dev/packages/mdc_web/score)
# mdc_web
Dart wrapper for the material-components-web javascript library.
## Usage
In your index.html, include the script just before the `main.dart.js` script.
```html
```
Now in your dart application you can use all of the `MDC*` classes as described by the [Material Design Web](https://material.io/develop/web/) component reference.
## Documentation
Each class and notable members are documented. Class documentation includes links to corresponding (if available):
* [Design Guidelines](https://material.io/design/components/)
* [Component Reference](https://material.io/develop/web/)
* [Demo](https://material-components.github.io/material-components-web-catalog/#/)
* [Source Code](https://github.com/material-components/material-components-web/tree/master/packages)## Limitations
Only the components themselves were mirrored. Their foundation and adapter classes are currently beyond the scope of this package as they are for deep customization within other web frameworks. However, the base `MDCFoundation` and `MDCComponent` classes are included. This limitation should not affect most implementations, but if it does affect you, please let me know.