We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We have an issue with latest version of Flutter:
import 'dart:io'; import 'package:flutter_cache_manager/flutter_cache_manager.dart';
flutter_cache_manager overrides dart:io, cause in flutter_cache_manager declared: export 'package:file/file.dart' show File;
export 'package:file/file.dart' show File;
Look at this for details: Baseflow/flutter_cache_manager#320
This could be fixed by:
import 'package:flutter_cache_manager/flutter_cache_manager.dart' as fcm; Future<void> loadNetworkPDF() async { final fetchedFile = await fcm.DefaultCacheManager().getSingleFile(widget.networkURL!); await (writeCounter(fetchedFile.readAsBytesSync())); path = (await _localFile).path; }
Could you please fix it?
The text was updated successfully, but these errors were encountered:
@akadatsky Check this PR, it is working. #34
Sorry, something went wrong.
No branches or pull requests
We have an issue with latest version of Flutter:
flutter_cache_manager overrides dart:io, cause in flutter_cache_manager declared:
export 'package:file/file.dart' show File;
Look at this for details:
Baseflow/flutter_cache_manager#320
This could be fixed by:
Could you please fix it?
The text was updated successfully, but these errors were encountered: