Material Design Icons generated using mdi/fonts
SVG font provided by
materialdesignicons.com.
mdi: 0.1.0
import 'package:mdi/mdi.dart';
class AccessPointButton extends StatelessWidget {
Widget build(BuildContext context) {
return IconButton(
icon: Icon(Mdi.accessPoint),
);
}
}
The icon names provided via Mdi
are camelCased variants of the original name.
- null -> nullIcon
- switch -> switchIcon
- sync -> syncIcon
- factory -> factoryIcon
If you find the icons are outdated or there are bugs to be fixed, just submit a PR.
Also, to generate icon glue-code locally you will be required to install Rust & Cargo. If you already have Rust, run the following on terminal:
$ cargo run