-
-
Notifications
You must be signed in to change notification settings - Fork 174
Closed
Milestone
Description
Similiar to AssetImage's keyName property it would be helpful to change AssetGenImage's path property to include package so we can hide the package name inside of AssetGenImage:
- String get path => _assetName;
+ String get path =>
+ _package == null ? _assetName : 'packages/$_package/$_assetName';
_package could be generated, e.g.
final String? _package = 'example_resources';
without package_parameter_enabled: true:
final String? _package;
SvgGenImage could be changed accordingly.
Metadata
Metadata
Assignees
Labels
No labels