Material Design Icons generated using @mdi/util
provided by
materialdesignicons.com.
mdi: 0.2.2
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.
To update the icon base and regenerate newer bindings to it, do the following:
$ yarn upgrade
$ yarn build