utils/file_reader library

Cross-platform file reading.

Picks the dart:io implementation on mobile/desktop and a stub that throws UnsupportedError on web — so the package compiles and runs on all platforms, including Flutter web.

Functions

readFileBytes(String path) Future<List<int>>
Reads the bytes of a file from disk.