phosphoricons_flutter
1.1.1, released 6 weeks ago by lucaszafret.com.br
Phosphor Icons library for Flutter with 1500+ icons in 6 styles, fully compatible with Dart 3.x.
What it does
Provides over 1500 icons across six weight styles (thin, light, regular, bold, fill, duotone) for Flutter applications. It is built as a drop-in, Dart 3.x compatible replacement for older phosphor icon packages, featuring tree-shaking support and a custom PhosphorIcon widget for duotone rendering.
AI-written summary of version 1.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a comprehensive icon set with multiple weights like thin, bold, and duotone.
- You are migrating away from the deprecated phosphor_flutter package due to Dart 3.x compatibility issues.
Skip it when
- You only need standard Material design icons.
- Your project uses an icon set that is already covered by alternative packages like font_awesome_flutter or lucide_icons_flutter.
Strengths
- 1500+ icons in 6 distinct styles.
- Fully compatible with Dart 3.x without extending final classes.
- Includes duotone support via a custom PhosphorIcon widget with color and opacity controls.
Weaknesses
- Duotone icons require a custom PhosphorIcon widget rather than the standard Flutter Icon widget.
- Adds external icon font assets to your bundle.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add the dependency to pubspec.yaml and import the package in your Dart code.
import 'package:phosphoricons_flutter/phosphoricons_flutter.dart';
Icon(PhosphorIconsRegular.storefront, size: 32);Alternatives
Packages that do the same job and could replace phosphoricons_flutter.
- font_awesome_flutter
If you prefer the widely used Font Awesome icon library instead of Phosphor Icons.
77Compare - lucide_icons_flutter
If you prefer the clean Lucide icon set.
91Compare
Works with
Packages commonly used together with phosphoricons_flutter: ones it builds on, ones built on it, and its own family.