Future<Uint8List> loadImage(path) async { return (await rootBundle.load(path)).buffer.asUint8List(); }