-
Notifications
You must be signed in to change notification settings - Fork 222
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
If i use the assetloader the image is set in the animation in its original size. In 0.14.0 how can i change it so the image is set to the size of its placeholder in the animation? Before we could get the size of the original like so:
if (asset is ImageAsset) {
imageAssetReference = asset;
originalImageSize = Size(asset.width, asset.height);
}
Since in the new version ImageAsset doesnt have a width and height proprty anymore, is there no way to get the sice of the asset from the animation anymore?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request