open_file icon indicating copy to clipboard operation
open_file copied to clipboard

Web OPEN method signature not aligned to other platforms

Open dna-f opened this issue 3 years ago • 0 comments

Hi! I'm getting an error while compiling for Flutter web, as "open" method signature is different

open_file/lib/src/web/open_file.dart

static Future<OpenResult> open(String filePath,

while for other platforms open_file/lib/src/plaform/open_file.dart, filePath is a String nullable

static Future<OpenResult> open(String? filePath,

Thanks for your package ;)

dna-f avatar May 27 '21 08:05 dna-f