getAssetImageWithColor static method
Implementation
static Image getAssetImageWithColor(String assetFilePath, Color? color) {
if (!assetFilePath.startsWith('assets')) {
assetFilePath = 'assets/$assetFilePath';
}
return Image.asset(
assetFilePath,
color: color,
package: "tengits_widgets",
scale: 3.0,
);
}