AssetConfig constructor

const AssetConfig({
  1. required String projectName,
  2. required String pubspecDir,
  3. required String outputDir,
  4. required String assetsDir,
  5. required String flavorDir,
  6. required bool createLibraryFile,
  7. String? flavor,
})

Creates a new AssetConfig instance.

All directory paths should be relative to the project root. The projectName is used for generating class names.

Implementation

const AssetConfig({
  required this.projectName,
  required this.pubspecDir,
  required this.outputDir,
  required this.assetsDir,
  required this.flavorDir,
  required this.createLibraryFile,
  this.flavor,
});