Increase validTill time for Custom Cache manager in Flutter

I am using CachedNetWorkImage with flutter_cache_manager: ^3.0.2 I have set the stale period to 5 minutes <pre><code> static const key = 'customCacheKey'; stati...

How to use precacheImage function in flutter?

Unable to use <a href="https://docs.flutter.io/flutter/widgets/precacheImage.html" rel="noreferrer">precacheImage</a> function to load and cache the local images from...

Trying to delete cache data using Flutter

Is it possible to clear cache data of an app (ex. youtube) using my Flutter app. I'm trying to do something like: <pre><code>var app = await DeviceApps.getApp('com...

flutter inappwebview clear cache file like css,js etc

I use flutter_inappwebview for fetching the website into the flutter app. I want to clear cache css,js,html files when i publish a new version of the website (spa site...

Contents of build method rebuilt without any setState calls

My app has a lot of API calls and image downloads, that's why i'm using <a href="https://pub.dartlang.org/packages/flutter_cache_manager" rel="nofollow noreferrer" tit...

How to solve Execution failed for task :app:compileFlutterBuildRelease. in flutter

I am trying to build api for my flutter apps, but getting this error log <pre><code>../flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.4+3/lib...

Flutter file picker - cant copy cached to permanent location No such file or directory

I am having the same problem trying with 2 different libraries: 'file_picker' and 'file_picker_cross', the 2nd one is based on the first but adds a 'save to path' meth...

Cache base64 images locally in Flutter

I have the following problem with my own approach. I would like some input if there is a better way to do what I did. In my app I get images from a source where...

Flutter video caching for 10 seconds on next 4 videos

Does anyone know how to do Flutter Video Caching in List for 4 to 6 seconds? (For next 5 videos) like Instagram reels. Is there any way to do it? I had t...

Flutter cached image is it possible to reload image instead of getting the cached image?

I'm using the package flutter_cached_network_image to load images from firebase. When a user updates his profile picture (filename is still the same) the image that is...

How to solve this problem Error: Couldnt resolve the package?

I face this problem. How can i solve this problem. Please help me. <pre><code>Error: Couldn't resolve the package 'intl' in 'package:intl/intl.dart'. lib/screens/c...

Github workflow cache path with fastlane and flutter

I am trying to optimise my cicd deployment workflow for android and ios with cache but I have a problem with the cache path. When not caching the workflow works well b...

Flutter Firebase Database persistence not working

I am using the firebase_database plugin in version 1.0.1 with flutter currently testing on android. I access the database with a singleton. <pre><code>...

how to Cache json data and display in flutter

I am trying to Cache JSON data, everything in my code is working fine, but the problem is I don't want to request getting the data from api and display it every time,...

Does the package cached_network_image reduce the amount of network bandwidth from Firestore Storage?

Currently I am reading an image URL from a firebase document that contains an Image URL from Firebase Cloud Storage, and then using the package <a href="https://pub.de...