show method

Future<void> show({
  1. Progress? progress,
})

Implementation

Future<void> show({Progress? progress}) async {
  final files = await Directory(folderPath).list().toList();

  for (final entity in files) {
    final file = entity.path;
    if (p.extension(file) == 'svg') {
      await SvgFile(file).show(progress: (line) => progress!(line));
    }
  }
}