如何清除Flutter的图像缓存? [英] How do I clear Flutter's image cache?
本文介绍了如何清除Flutter的图像缓存?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Flutter 具有自己的内部图像缓存。我需要清除该图像缓存。我该怎么做?
Flutter has its own internal cache of images. I need to clear that image cache. How do I do that?
推荐答案
import 'package:flutter/services.dart';
imageCache.clear();
只是想知道塞思·拉德(Seth Ladd)是如何对Flutter提问。我错过了什么吗?
just wondering how come Seth Ladd is asking question on Flutter. Am I missing something?
这篇关于如何清除Flutter的图像缓存?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文