marco.pms.mobile/lib/images.dart
Vaibhav Surve 99902e743c Flutter application
- Created generated_plugin_registrant.cc and generated_plugin_registrant.h to manage plugin registration.
- Added generated_plugins.cmake for plugin configuration in CMake.
- Implemented CMakeLists.txt for the Windows runner, defining build settings and dependencies.
- Created Runner.rc for application resources including versioning and icons.
- Developed flutter_window.cpp and flutter_window.h to manage the Flutter window lifecycle.
- Implemented main.cpp as the entry point for the Windows application.
- Added resource.h for resource definitions.
- Included app icon in resources.
- Created runner.exe.manifest for application settings.
- Developed utils.cpp and utils.h for console management and command line argument handling.
- Implemented win32_window.cpp and win32_window.h for high DPI-aware window management.
2025-04-17 12:30:38 +05:30

18 lines
774 B
Dart

import 'dart:math';
class Images {
static List<String> avatars = List.generate(10, (index) => 'assets/avatar/avatar_${index + 1}.jpg');
static List<String> dummy = List.generate(5, (index) => 'assets/dummy/dummy_${index + 1}.jpg');
static List<String> product = List.generate(10, (index) => 'assets/dummy/ecommerce/product_${index + 1}.jpg');
static String logoLight = 'assets/logo/logo_light.png';
static String logoLightSmall = 'assets/logo/logo_light_small.png';
static String logoDark = 'assets/logo/logo_dark.png';
static String logoDarkSmall = 'assets/logo/logo_dark_small.png';
static String authBackground = 'assets/auth_background.jpg';
static String randomImage(List<String> images) {
return images[Random().nextInt(images.length)];
}
}