assets method

void assets(
  1. BuildContext context,
  2. List<String> images
)

Implementation

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