If you are having issues with distorted or excessively sized custom icons in your Flutter app, you can follow these steps to fix the issue using FlutterIcon.com:
- Go to FlutterIcon.com and choose the icon you want to use in your project.
- Customize the icon by selecting the size, color, and style you prefer.
- Once you have customized the icon, click on the "Download" button to download the icon as a zip file.
- Extract the contents of the zip file and copy the extracted files to your Flutter project's "icons" folder.
- Import the icon in your Flutter code using the following syntax:
import 'package:<your_project_name>/icons/<icon_name>.dart';
- Use the icon in your code by passing it as a parameter to the Icon widget:
Icon(CustomIcons.<icon_name>)
By using FlutterIcon.com to generate your custom icons, you can ensure that they are properly sized and formatted for use in your Flutter app.