xdg_icons
0.1.2, released a year ago by canonical.com
XDG theme icons for Flutter.
What it does
Provides XDG theme icons for Flutter applications, allowing you to render standard desktop icons like the 'computer' icon with customized sizes.
AI-written summary of version 0.1.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a Flutter application for Linux and want to use native XDG theme icons
- You need standard desktop icon sets in your UI
Skip it when
- You are building mobile-only apps without desktop integration requirements
- You need an extensive cross-platform icon pack like FontAwesome or Material Symbols
Strengths
- Integrates standard XDG theme icons into Flutter
- Uses jovial_svg to support SVG styles
Weaknesses
- Platform support is primarily focused on Linux plugins
- Limited to XDG theme icon specifications
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 5
not documented
XdgIcon(
name: 'computer',
size: 48,
)Alternatives
Packages that do the same job and could replace xdg_icons.
- font_awesome_flutter
If you need a vast collection of icons available across all platforms rather than Linux XDG theme icons.
77Compare - lucide_icons_flutter
If you prefer consistent, clean vector icons for your UI across platforms.
91Compare - material_symbols_icons
If you want access to Google's official Material Symbols.
79Compare
Works with
Packages commonly used together with xdg_icons: ones it builds on, ones built on it, and its own family.
- plugin_platform_interfacexdg_icons depends on itReusable base class for platform interfaces of Flutter federated plugins.
- mocktailxdg_icons depends on itDart mock library with null safety support and no manual mocks or code generation.
- jovial_svgxdg_icons depends on itSVG - Robust rendering of Scalable Vector Graphic images, supporting a well-defined profile of SVG, a fast-loading binary storage format, and animation.
- xdg_desktop_portalSame familyA native Dart implementation of portals for Linux desktop applications.