mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 23:40:41 +00:00
e0320b6704
* Create screenshot_driver.dart * wip * deleted screenshots * iap mock * generate for 3 colors * cleanup * generate single dark screenshots * snake_case * added stub image for camera * scroll to the first checkbox selected * unstub iap * cleanup * Update generate_screenshots.dart * typo
10 lines
344 B
Dart
10 lines
344 B
Dart
class PlatformConfig {
|
|
const PlatformConfig._();
|
|
|
|
static double get cameraPreviewAspectRatio {
|
|
final rational = const String.fromEnvironment('cameraPreviewAspectRatio').split('/');
|
|
return int.parse(rational[0]) / int.parse(rational[1]);
|
|
}
|
|
|
|
static String get cameraStubImage => const String.fromEnvironment('cameraStubImage');
|
|
}
|