precache method

Future<void> precache(
  1. SfSymbolConfig config
)

Renders config ahead of time, so a later SfSymbol draws immediately.

Implementation

Future<void> precache(SfSymbolConfig config) async {
  final texture = await acquire(config);
  if (texture != null) release(config);
}