excel_rust

Last updated:

0 purchases

excel_rust Image
excel_rust Images
Add to Cart

Description:

excel rust

excel_rust #
Read large excel file iteratively. It uses rust calamine library.
Getting Started #
Future<void> main() async {
// Dont call it more than once
await ExcelRust.init();
runApp(const MyApp());
}

void readExcel(String filepath) async {
final ExcelRust excelRust = ExcelRust.instance();
List<String> sheets = excelRust.getSheets(path: filepath);

Stream<List<String>> rows = excelRust.readFile(
path: filepath,
sheet: sheets.first,
);
await for (List<String> row in rows) {
// Your business logic
print(row);
}
}

copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.