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