main function

void main()

Implementation

void main() async {
  final manager = AutoScreenshotManager(
    sourcePath: 'lib/screens',
    outputPath: 'example/captures',
    devices: ['phone', 'iphone', 'tablet'],
    label: 'Exemple',
    themeMode: ThemeMode.light,
  );

  await manager.generateAllScreenshots();
  print("✅ Captures générées dans example/captures !");
}