How to install and use flutter_launcher_icons with Flutter 3.7.10

A popular Flutter package with 5318 likes that support Flutter version 3.7.10 and above. Last version of the package was published on Apr 19, 2023.

Installing flutter_launcher_icons

You can either add the package directly using the flutter command line.

$ flutter pub add flutter_launcher_icons

Or add the dependency directly to your pubspec.yaml file.
dependencies:
  flutter_launcher_icons: ^0.13.0

In either case, make sure to refresh your packages by running the following command:

$ flutter pub get

Using flutter_launcher_icons

Once you have installed the package, you can use it in your Flutter application by importing it.
import 'package:flutter_launcher_icons/flutter_launcher_icons.dart';