iconify_design_flutter 1.0.2 copy "iconify_design_flutter: ^1.0.2" to clipboard
iconify_design_flutter: ^1.0.2 copied to clipboard

A Flutter package that allows you to use icons from the Iconify.design API with ease.

Iconify Design Flutter 🚀 #

iconify_design_flutter is a Flutter package that allows you to use icons from Iconify. It caches icons locally after the first fetch, making subsequent loads instant.


📌 Features #

  • Fetches SVG icons dynamically from Iconify.
  • Caches icons locally for faster future loads.
  • Supports custom size and color.

📦 Installation #

Add the package to your pubspec.yaml:

dependencies:
  iconify_design_flutter: ^1.0.2

Run:

flutter pub get

🚀 Usage #

Import the package:

import 'package:iconify_design_flutter/iconify_design_flutter.dart';

Use the IconifyIcon widget:

IconifyIcon(
  icon: "mdi:home",
  color: Colors.black,
  size: 32,
)

⚙️ How It Works #

  • Extracts the prefix and icon name from the provided string (e.g., "mdi:home").
  • Checks if the icon is already cached locally.
  • If not cached, fetches the SVG from Iconify and stores it.
  • On subsequent renders, loads the cached icon instead of fetching it again.

🔗 Dependencies #



🤝 Contribution #

We welcome contributions! You can:

  • Report issues via GitHub Issues.
  • Submit a pull request if you'd like to improve the package.

🐜 License #

This project is licensed under the MIT License – see the LICENSE file for details.


If you appreciate my work, please don't forget to ⭐ star the repo to show your support!

2
likes
150
points
28
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that allows you to use icons from the Iconify.design API with ease.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

dio, flutter, flutter_localizations, flutter_svg, flutter_web_plugins, fpdart, shared_preferences

More

Packages that depend on iconify_design_flutter