You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to access the FileSystem interface to do a custom cache, we have to import this file: import 'package:flutter_cache_manager/src/storage/file_system/file_system.dart'; This is a problem for the linter (info: Don't import implementation files from another package.) Please add either this interface or, even better, your implementation of IOFileSystem to the list of exports in flutter_cache_manager.dart.
@montyr75 Hello, I tried adding that import but didnt work for me. Has anyone figured this out yet? I'm trying to use this instead of cached video player plugin but cant figure out what to import to get the IOFileSystem referenced properly.
Activity
yk3372 commentedon Mar 17, 2022
@renefloor please fix it, thanks
yk3372 commentedon Mar 18, 2022
same to Baseflow/flutter_cached_network_image#710
montyr75 commentedon Jun 9, 2022
In order to access the FileSystem interface to do a custom cache, we have to import this file:
import 'package:flutter_cache_manager/src/storage/file_system/file_system.dart';This is a problem for the linter (info: Don't import implementation files from another package.) Please add either this interface or, even better, your implementation of IOFileSystem to the list of exports influtter_cache_manager.dart.Technorocker commentedon Aug 5, 2022
@montyr75 Hello, I tried adding that import but didnt work for me. Has anyone figured this out yet? I'm trying to use this instead of cached video player plugin but cant figure out what to import to get the IOFileSystem referenced properly.
shen601020 commentedon Sep 25, 2023
试试:import 'package:flutter_cache_manager/src/storage/file_system/file_system_io.dart';