iconifyme 1.0.0
iconifyme: ^1.0.0 copied to clipboard
A custom Flutter icon package wrapping SVG assets with named constructors.
iconifyme #
A custom Flutter icon package wrapping 740+ high-quality SVG assets with developer-friendly named constructors.
Features #
- 740+ Built-in Icons: Render clean SVG icons easily.
- Named Constructors: Call icons directly like
Iconify.home(),Iconify.bell_bing(),Iconify.icon_4k(), etc. - Customizable: Change sizes and colors dynamically.
- Developer Generator: Comes with an automated script to regenerate icon bindings if you add/remove files in
assets/icons/.
Getting started #
Add iconifyme to your Flutter project's dependencies:
dependencies:
iconifyme:
path: path/to/iconifyme # Or standard pub dependency once published
Run flutter pub get to fetch the package.
Usage #
Import the package in your Dart code:
import 'package:flutter/material.dart';
import 'package:iconifyme/iconifyme.dart';
Use any icon in your widget tree:
// Standard call
const Iconify.home(),
// Customized size
const Iconify.home(size: 48),
// Customized size and color
Iconify.home(size: 32, color: Colors.blue),
// Multi-style icons
const Iconify.bell_bing(size: 24, color: Colors.amber),
const Iconify.alarm(size: 24, color: Colors.red),
Adding New Icons #
If you add new SVG icons into the assets/icons/ folder, regenerate the bindings by running:
dart run tool/generator.dart
This updates the named constructors automatically and runs code formatting.
License #
This project is licensed under the MIT License - see the LICENSE file for details.