autoshot 1.4.0 copy "autoshot: ^1.4.0" to clipboard
autoshot: ^1.4.0 copied to clipboard

Automate App Store and Play Store screenshot generation across multiple devices, locales, and screens with web download and mobile file export.

Changelog #

1.4.0 #

  • Added appName to AutoshotConfig for customising exported filenames.
  • Updated ZIP archive naming convention: now named {appName}_autoshot_{timestamp}.zip (e.g. my_app_autoshot_2026-02-18_14-30-00.zip).
  • devices in AutoshotConfig is now optional.
  • Added default devices: when no devices are specified, it defaults to a big phone ('phone') and a small tablet ('tablet') via Devices.android.

1.3.3 #

  • Optimized screenshot engine performance: reordered capture loop from device → locale → screen to device → screen → locale.
  • Significantly reduced navigation overhead: route-based screens are now navigated to only once per device, with all locales captured on the same page.

1.3.2 #

  • Fixed _wrapScreen dark-mode handling: replaced DevicePreview.isDarkMode() (non-existent API) with ThemeMode.system, which correctly reads the platformBrightness that DevicePreview.appBuilder injects.
  • Simplified example: replaced the complex grid/chart UI with clean, minimal screens (Home: greeting card + 4 memo tiles; Detail: centred icon + headline + CTA; Stats: 3 stat cards).
  • Migrated example to native Flutter localisation (ARB files) — removed the intermediate _S helper class entirely.
  • Reduced ARB keys from 40+ to 17, covering all 5 locales (English, Arabic, French, Japanese, German).

1.3.1 #

  • Fixed widget-based screen captures (ScreenEntry.widget) not respecting DevicePreview's dark-mode toggle — added themeMode: DevicePreview.isDarkMode(context) ? ThemeMode.dark : ThemeMode.light to _wrapScreen.
  • Updated example: 5 locales (English, Arabic, French, Japanese, German), 3 screens (Home, Detail, Stats), proper localizationsDelegates + supportedLocales, and themeMode wired to DevicePreview.isDarkMode so the locale/dark-mode toggles in DevicePreview are reflected live in the app.

1.3.0 #

  • Added AutoshotLocaleChangedCallback typedef for hooking into locale switches.
  • Added onLocaleChanged callback to AutoshotConfig to synchronise external localisation systems (e.g. easy_localization) that are not driven by DevicePreview's locale state.
  • Fixed locale switching format: use locale.toString() (e.g. en_US) instead of toLanguageTag() (e.g. en-US) so DevicePreview parses the locale correctly.

1.2.0 #

  • Saved captures to a real file location on non-web platforms instead of throwing unsupported download errors.
  • On Android phones, screenshots are exported to the Downloads folder when available.
  • Fixed locale switching during capture by using a DevicePreview-compatible locale tag format.
  • Moved the Autoshot section to the top of DevicePreview tools when using the Autoshot wrapper.
  • Updated example locales/content so locale-based screenshot differences are visible.

1.1.2 #

  • Updated SDK constraints for better compatibility.

1.1.1 #

  • Updated SDK constraints for better compatibility.

1.1.0 #

  • Fixed DevicePreview compatibility issues with backgroundColor and padding.
  • Updated homepage URL.
  • Optimized package description for pub.dev.
  • Improved dependency constraints.

1.0.0 #

  • Initial release of autoshot.
  • Wraps device_preview as a dependency — single import, single dependency.
  • Automated screenshot generation across devices × locales × screens.
  • ZIP download for Flutter Web.
  • Progress UI in the device_preview toolbar.
1
likes
150
points
152
downloads

Publisher

verified publisherandronasef.dev

Weekly Downloads

Automate App Store and Play Store screenshot generation across multiple devices, locales, and screens with web download and mobile file export.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

archive, device_preview, flutter, path_provider, provider

More

Packages that depend on autoshot