excel_rust 0.0.3 copy "excel_rust: ^0.0.3" to clipboard
excel_rust: ^0.0.3 copied to clipboard

Read large excel file iteratively

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);
  }
}

2
likes
140
points
32
downloads

Publisher

unverified uploader

Weekly Downloads

Read large excel file iteratively

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_rust_bridge, plugin_platform_interface

More

Packages that depend on excel_rust

Packages that implement excel_rust