FlutterImageEnumList.withConfig constructor
FlutterImageEnumList.withConfig({})
Constructs a FlutterImageEnumList instance with the specified configuration.
assetFolderPath
, classFolderPath
, customClassName
, fileExtensions
, and recursive
are optional parameters to customize the configuration.
Implementation
FlutterImageEnumList.withConfig({
String assetFolderPath = DefaultConfig.assetFolderPath,
String classFolderPath = DefaultConfig.classFolderPath,
String customClassName = DefaultConfig.customClassName,
List<String> fileExtensions = DefaultConfig.fileExtensions,
bool recursive = DefaultConfig.recursive,
}) {
config = Config(
assetFolderPath: assetFolderPath,
classFolderPath: classFolderPath,
customClassName: customClassName,
fileExtensions: fileExtensions,
recursive: recursive,
);
}