initResources method

Future<void> initResources(
  1. SymbolCache symbolCache
)

Implementation

Future<void> initResources(SymbolCache symbolCache) async {
  bitmap?.dispose();
  //bitmap = await loadBitmap(10, symbolCache);
  if (bitmap != null) {
    if (isFillTransparent()) setFillColorFromNumber(0xff000000);
    setFillBitmapShader(bitmap!);
    bitmap!.dispose();
  }
}