clear method

  1. @visibleForTesting
void clear()

Drops everything, on screen or not. Only for tests.

Implementation

@visibleForTesting
void clear() {
  for (final entry in _entries.values) {
    SfSymbolsPlatform.instance.dispose(entry.texture.textureId);
  }
  _entries.clear();
  _unused.clear();
  _pending.clear();
}