You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AssetGenImage supports both image(..) and provider(..) the former returns a Widget and later a ImageProvider. SvgGenImage supports only svg(..) which returns a widget.
Describe the solution
It would be useful if SvgGenImage also supported a loader(..) method that returns a SvgLoader (which is the equivalent to a ImageProvider but for SVGs).
Additional context
The alternative at the moment is to write out, SvgAssetLoader(Assets.name.keyName)) instead of Assets.name.loader()
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Describe the problem
AssetGenImage
supports bothimage(..)
andprovider(..)
the former returns aWidget
and later aImageProvider
.SvgGenImage
supports onlysvg(..)
which returns a widget.Describe the solution
It would be useful if
SvgGenImage
also supported aloader(..)
method that returns aSvgLoader
(which is the equivalent to aImageProvider
but for SVGs).Additional context
The alternative at the moment is to write out,
SvgAssetLoader(Assets.name.keyName))
instead ofAssets.name.loader()
Code of Conduct
The text was updated successfully, but these errors were encountered: