jpl_material_icons_named 3.16.0+2
jpl_material_icons_named: ^3.16.0+2 copied to clipboard
A mapping library that maps the Stringified material icon name to the actual Material `IconData`.
🛡️ Fork — Jeff Peiffer Legacy (
jpl_) #Este paquete (
jpl_material_icons_named) es un fork dematerial_icons_named, originalmente creado por Jeff Peiffer y archivado (read-only) junto con toda la orgpeiffer-innovations.El prefijo
jpl_significa Jeff Peiffer Legacy: mantenemos vivo el legado de estos paquetes, bumpeados a las últimas versiones de Dart/Flutter, en el monorepojpl.Licencia original conservada. El crédito del diseño y la implementación original es de Jeff Peiffer.
Table of Contents
material_icons_named #
Table of Contents #
Live Example #
Introduction #
Library that builds and provides auto-generated string to icon mapping for all Material based from the stable branch for Flutter.
Please note, if you include this library then Flutter will give you errors stating that it cannot tree shake icons when building for Android and iOS. You must add the --no-tree-shake-icons flag to your builds. For example:
flutter build apk --release --no-tree-shake-icons
Due to Flutter not being able to tree shake the icons, the Material Icons alone can add up to 350k to your final app build. That will be in addition to any other icons you may be using that will no longer be able to be shaken out.
Usage #
import 'package:material_icons_named/material_icons_named.dart';
...
Icon(materialIcons['wifi_tethering_outlined']),
...