static String getImagePath(String name) { if(name.startsWith("assets")) { return name; } return 'assets/images/$name'; }