mdc_web 0.6.0 mdc_web: ^0.6.0 copied to clipboard
In your index.html, include the script just before the
<!-- This exposes the `mdc` global variable required by this package. For debugging purposes you can replace the ".min.js" extension with ".js". --> <script defer src="packages/mdc_web/material-components-web.min.js"></script> <script defer src="main.dart.js"></script>
Now in your dart application you can use all of the
MDC* classes as described by the Material Design Web component reference.
Each class and notable members are documented. Class documentation includes links to corresponding (if available):
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
MDCComponent classes are included. This limitation should not affect most implementations, but if it does affect you, please let me know.