loadAssetBytes method

Future<ByteData> loadAssetBytes(
  1. String path
)

Retrieve a binary resource from the asset bundle as a data stream.

Implementation

Future<ByteData> loadAssetBytes(String path) async {
  return await rootBundle.load(path);
}