IconsGenerator constructor
IconsGenerator({
- required String importPath,
- required String exportPath,
- required String fontExportPath,
- Encoding? exportEncoding,
- Encoding? encoding,
- DartFormatter? formatter,
- String? baseName,
- String? fontFamily,
- int? baseCodePoint,
- int? height,
- int? descent,
- bool? normalize,
- Map<
String, Object?> ? package, - bool? convert,
- bool? yarn,
- bool? force,
The architecture of the IconFont generator.
Implementation
IconsGenerator({
required super.importPath,
required super.exportPath,
required this.fontExportPath,
super.exportEncoding,
super.encoding,
super.formatter,
final String? baseName,
final String? fontFamily,
final int? baseCodePoint,
this.height,
this.descent,
this.normalize,
final Map<String, Object?>? package,
final bool? convert,
final bool? yarn,
final bool? force,
}) : baseName = baseName ?? 'Icons',
fontFamily = fontFamily ?? 'Icons',
baseCodePoint = baseCodePoint ?? 0xf101,
package = package ??
const <String, Object?>{
'private': true,
'devDependencies': <String, Object?>{'fantasticon': '^1.2.3'},
},
convert = convert ?? true,
yarn = yarn ?? false,
force = force ?? false;