copyAssets method

void copyAssets(
  1. String to
)

Implementation

void copyAssets(String to) {
  io.copyPathSync(p.join(_innerThemeDir, '_assets', layoutType), to);
  final d = themeDir;
  final from = d != null ? p.join(d, '_assets', layoutType) : null;
  if (from != null) {
    io.copyPathSync(from, to);
  }
}