mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-23 16:00:41 +00:00
f62f658be8
* added system overlays for iPhone 8 Plus & iPhone 13 Pro * add device frame (wip) * scale device frame (wip) * add text to screenshots (wip) * added screenshots config json * reorganized screenshot models * cleanup * added fonts for dark screenshots * typo * store raw screenshots * added standalone script to update screenshots * wip * refined screenshots naming * skip metering layout dialog screenshot * parse ipad name * added assets for Pixel 6 * typo * added text for incident light metering * reorganized store script * typo * wip * synced outlined icons * added timer screen to screenshot generator * constrained timer screen timeline for tablets * added timer screenshot title * typo * revised scripts * track release screenshots * Update README.md * iphone 6.5" -> iphone 6.7" * Update google_play_resources.md * softened screenshot font colors * cleanup
19 lines
470 B
Dart
19 lines
470 B
Dart
class ScreenshotConfig {
|
|
final String title;
|
|
final String subtitle;
|
|
final String screenshotName;
|
|
|
|
const ScreenshotConfig({
|
|
required this.title,
|
|
required this.subtitle,
|
|
required this.screenshotName,
|
|
});
|
|
|
|
factory ScreenshotConfig.fromJson(Map<String, dynamic> data) {
|
|
return ScreenshotConfig(
|
|
title: data['title'] as String,
|
|
subtitle: data['subtitle'] as String,
|
|
screenshotName: data['screenshotName'] as String,
|
|
);
|
|
}
|
|
}
|