assets method
Implementation
void assets(BuildContext context, List<String> images) {
for (String image in images) {
precacheImage(Image.asset(image).image, context);
}
}
void assets(BuildContext context, List<String> images) {
for (String image in images) {
precacheImage(Image.asset(image).image, context);
}
}