excel_rust 0.0.2
excel_rust: ^0.0.2 copied to clipboard
Read large excel file iteratively
excel_rust #
A new Flutter FFI plugin project.
Getting Started #
Future<void> main() async {
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);
}
}