{"repo":"phosphor-icons/flutter","free":true,"listed":false,"github":"https://github.com/phosphor-icons/flutter","clone":"git clone https://github.com/phosphor-icons/flutter.git","description":"A flexible icon family for Flutter","language":"Dart","stars":150,"topics":["icons","icon-pack","flutter","svg","svg-icons","icon-font"],"license":"MIT","category":"mobile-apps","readme_excerpt":"phosphor-flutter Phosphor is a flexible icon family for interfaces, diagrams, presentations — whatever, really. Explore all our icons at phosphoricons.com. ScreenShots Installation Add this to your pubspec.yaml Then run the pub get command Usage PhosphorIcon Widget The easiest way to use all the Phosphor Icons in your app is to use the PhosphorIcon widget with one of the style-specific icon classes and pass any of our PhosphorIcons to it. Available Styles: - PhosphorIconsRegular - PhosphorIconsThin - PhosphorIconsLight - PhosphorIconsBold - PhosphorIconsFill - PhosphorIconsDuotone [!TIP] Use the style classes for smaller font file size. The alternative syntax PhosphorIcons.pencil(PhosphorIconsStyle.fill) is not recommended as it prevents tree shaking. you could also use the duotone style like this by default the secondary color will be the same as the one passed here but with a 20% of opacity, but you can easily override that behavior with the duotoneSecondaryOpacity and duotoneSecondaryColor properties you can even make the opacity 100% to have a real duocolor icon. Flutter Icon Widget You can use the native flutter Icon() widget passing any PhosphorIcon value like any Material Icon NOTE: Due some limitations with the flutter Icon widget when you pass a duotone icon it will render it as a simple icon, for this case prefer to use our custom PhosphorIcon widget that works the same as Icon but support our duotone style You could use any property of the Icon widget to personaliz","default_branch":null,"files":null,"tree":[],"storefront":"/r/phosphor-icons","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/phosphor-icons/flutter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}