Skip to content

🖼️ Asset Management ​

Overview ​

SVG Icons ​

  • Define the paths of assets SVG icons in lib/shared/resources/app_icons.dart file
  • This file serves as a central location for all icon asset paths
  • Makes it easier to maintain and update icon paths across the application

Images ​

  • Define the paths of assets images in lib/shared/resources/app_images.dart file
  • This file serves as a central location for all image asset paths
  • Helps maintain consistency in image asset references

Usage Guidelines ​

  1. Always use the defined constants from app_icons.dart and app_images.dart when referencing assets
  2. Keep asset paths organized and categorized in these files
  3. Follow a consistent naming convention for asset files
  4. Ensure all assets are properly declared in the pubspec.yaml file

Common Violations ​

❌ DO NOT Violate These Rules ​

  1. Don't use hardcoded asset paths - Use the defined constants from app_icons.dart and app_images.dart