Load the image.
@override Future<Uint8List> loadImage() async { final byteData = await rootBundle.load(path); return byteData.buffer.asUint8List(); }