loadLocalImage function

Future<GBitmap> loadLocalImage(
  1. String path
)

Implementation

Future<GBitmap> loadLocalImage(String path) async {
  final texture = await ResourceLoader.loadTexture(path);
  return GBitmap(texture);
}