0 purchases
any icon maker
any_icon_maker #
A configurable icon maker.
any_icon_maker
Quick Start
Installation
Usage
License
Quick Start #
Installation #
Add this to your package's pubspec.yaml file:
dependencies:
any_icon_maker: ^0.0.1
copied to clipboard
Or
dependencies:
window_manager:
git:
url: https://github.com/makeanyicon/any_icon_maker.git
ref: main
copied to clipboard
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);
}
copied to clipboard
License #
MIT
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.