getAssetImage static method
Implementation
static Image getAssetImage(
String assetFilePath, {
BoxFit? fit,
bool gaplessPlayback = false,
}) {
if (!assetFilePath.startsWith('assets')) {
assetFilePath = 'assets/$assetFilePath';
}
return Image.asset(
assetFilePath,
package: "tengits_widgets",
fit: fit,
scale: 3.0,
gaplessPlayback: gaplessPlayback,
);
}