getAssetScaleImage static method
Implementation
static Image getAssetScaleImage(String assetFilePath, {String? package}) {
if (!assetFilePath.startsWith('assets')) {
assetFilePath = 'assets/$assetFilePath';
}
return Image.asset(
assetFilePath,
package: package ?? BaseStrings.flutterPackageName,
);
}