loadSvg method

Future<Svg> loadSvg(
  1. String fileName
)

Loads an Svg using the Game's own asset loader.

Implementation

Future<Svg> loadSvg(String fileName) => Svg.load(fileName, cache: assets);