Appearance
🖼️ Asset Management
Overview
SVG Icons
- Define the paths of assets SVG icons in
lib/shared/resources/app_icons.dartfile - 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.dartfile - This file serves as a central location for all image asset paths
- Helps maintain consistency in image asset references
Usage Guidelines
- Always use the defined constants from
app_icons.dartandapp_images.dartwhen referencing assets - Keep asset paths organized and categorized in these files
- Follow a consistent naming convention for asset files
- Ensure all assets are properly declared in the
pubspec.yamlfile
Common Violations
❌ DO NOT Violate These Rules
- Don't use hardcoded asset paths - Use the defined constants from
app_icons.dartandapp_images.dart