-
|
Trying to use a simple CachedTileProvider with FileCacheStore (as per examples) fails as they use two different definitions of class CacheStore. The above produces the lint error And forced (with type cast) produces the runtime error I am unsure if this is a bug, or I have a wrong import configuration somehow. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hello @paamand, is there a reason you ask this question on the Ensure that you are using the latest major version for http_cache_file_store so that both use the same CacheStore from http_cache_core: http_cache_file_store: ^2.0.1edit: I moved the discussion to the corresponding repository. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, Thanks for the quick reply! |
Beta Was this translation helpful? Give feedback.
Hello @paamand, is there a reason you ask this question on the
maplibrepackage instead of the repo for the flutter_map_cache package?Ensure that you are using the latest major version for http_cache_file_store so that both use the same CacheStore from http_cache_core:
edit: I moved the discussion to the corresponding repository.