any_icon_maker 0.1.0 any_icon_maker: ^0.1.0 copied to clipboard
A configurable icon maker.
any_icon_maker #
A configurable icon maker.
Quick Start #
Installation #
Add this to your package's pubspec.yaml file:
dependencies:
any_icon_maker: ^0.0.1
Or
dependencies:
window_manager:
git:
url: https://github.com/makeanyicon/any_icon_maker.git
ref: main
Usage #
import 'package:any_icon_maker/any_icon_maker.dart';
Future<void> main(List<String> args) async {
String iconPath = 'app_icon_1024.png';
String outputPath = ''; // Save to current directory
List<ImageSet> imageSets = [
ImageSet(
name: 'web',
path: 'public/',
images: [
Image(size: '48x48', filename: 'favicon.ico'),
Image(size: '192x192', filename: 'logo192.png'),
Image(size: '512x512', filename: 'logo512.png'),
],
),
];
final anyIconMaker = AnyIconMaker();
await anyIconMaker.make(iconPath, outputPath, imageSets);
}