loadFileWithParams method
Loads a local HTML file using the provided params
.
The params.absoluteFilePath
should contain the absolute path to the file
on the device.
For example: /Users/username/Documents/www/index.html
.
Platform-specific implementations may extend LoadFileParams
to support
additional parameters, such as iOS/macOS-specific read access options.
Implementation
Future<void> loadFileWithParams(
LoadFileParams params,
) {
return loadFile(params.absoluteFilePath);
}