precache static method

Future<void> precache(
  1. BuildContext context
)

Implementation

static Future<void> precache(BuildContext context) async {
  for (var device in Devices.all) {
    await precachePicture(
      StringPicture(SvgPicture.svgStringDecoder, device.svgFrame),
      context,
    );
  }
}