Thank you for considering contributing to Flutter Custom Icons! 🎉
-
Find Quality SVG Icons
- Use free, open-source icon sets
- Ensure icons are monochrome (single color) for best results
- Check the license to ensure it allows redistribution
-
Add SVG Files
- Place SVG files in
assets/icons/ - Use descriptive, lowercase names with underscores (e.g.,
user_profile.svg) - Avoid spaces or special characters in filenames
- Place SVG files in
-
Generate the Font
node tool/generate_icons.js
-
Test Your Icons
- Run the example app
- Verify icons render correctly at different sizes
- Check that icon names are valid Dart identifiers
-
Submit a Pull Request
- Create a branch for your changes
- Include a description of the icons you added
- Reference any relevant issues
- Follow Dart style guidelines
- Run
flutter analyzebefore submitting - Ensure no breaking changes to existing icons
- Size: SVG icons should ideally be 24x24 or scalable
- Color: Monochrome only (single color, preferably black)
- Format: Clean SVG without unnecessary attributes
- License: Must be freely distributable (MIT, Apache, CC0, etc.)
If you find a bug or have a feature request:
- Check if the issue already exists
- Create a new issue with a clear title and description
- Include steps to reproduce (if applicable)
- Add relevant labels
-
Clone the repository
git clone https://github.com/techwithsam/flutter_custom_icons.git cd flutter_custom_icons -
Install dependencies
flutter pub get npm install -g fantasticon
-
Run the example
cd example flutter run
Feel free to open an issue for questions or discussions.
Thank you for contributing! 🚀