Can't attach reference image in comment thats why answering @Aks question here with image reference.
When logo is not white like black or red then need to set color parameter as White of SvgPicture.asset as shown in below image original logo was black.
Then about my updated code the effect is same as @Aks use SizedBox with Postponed Widgets but i use Stack alignment property with Padding on SVG.
2
Answers
Can't attach reference image in comment thats why answering @Aks question here with image reference.
When logo is not white like black or red then need to set color parameter as White of
SvgPicture.asset
as shown in below image original logo was black.Then about my updated code the effect is same as @Aks use SizedBox with Postponed Widgets but i use Stack alignment property with Padding on SVG.
Add this package: widget_mask. This package contains a class "SaveLayer" we can use like this ->
##You can handle the position of svg as needed.