getAssetImage static method

AssetImage getAssetImage(
  1. String path
)

Implementation

static AssetImage getAssetImage(String path) {
  return AssetImage("${(kDebugMode && kIsWeb)?"":"assets/"}$path");
}