icons_launcher 3.0.0 icons_launcher: ^3.0.0 copied to clipboard
A command-line tool that simplifies the task of updating your Flutter app's launcher icon.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add icons_launcher
With Flutter:
$ flutter pub add icons_launcher
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
icons_launcher: ^3.0.0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:icons_launcher/cli_commands.dart';
import 'package:icons_launcher/utils/cli_logger.dart';
import 'package:icons_launcher/utils/constants.dart';
import 'package:icons_launcher/utils/flavor_helper.dart';
import 'package:icons_launcher/utils/icon.dart';
import 'package:icons_launcher/utils/template.dart';
import 'package:icons_launcher/utils/utils.dart';