Тёмный

CachedNetworkImage (Package of the Week) 

Flutter
Подписаться 571 тыс.
Просмотров 73 тыс.
50% 1

Learn more about CachedNetworkImage → goo.gle/3wovaGc
A picture is worth 1,000 words, but is it worth 2,000? Use CachedNetworkImage to stop re-downloading images in your Flutter apps 🌄💙
This video is also subtitled in Chinese, Indonesian, Italian, Japanese, Korean, Portuguese, and Spanish.
Learn everything about Flutter at → goo.gle/2WAhEN1
Get more tips! → goo.gle/FlutterPackage
Subscribe to Flutter! → goo.gle/FlutterYT
#PackageoftheWeek #Widgets #Flutter
product: Flutter - Development - User interface; fullname: Khanh Nguyen;

Наука

Опубликовано:

 

10 ноя 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 53   
@jehatdeniz8260
@jehatdeniz8260 2 года назад
I cannot express that how great people flutter engineers are. These video made me better today. Thank you flutter team.
@seyhmusozbek
@seyhmusozbek 2 года назад
I love the way it is always "and thats it". all of big works is in just some teeny tiny words.
@iamvikram
@iamvikram 2 года назад
I am glad this package is being highlighted. I found this package so useful in my application.
@tiga2456
@tiga2456 2 года назад
This is one of the greatest widgets ever. It will save us a lot of money 💸💸💸
@mohdubaid3502
@mohdubaid3502 2 года назад
I was searching for this type of widget for so long ....😍😍
@takudzwamakusha5941
@takudzwamakusha5941 2 года назад
Thank you flutter team!
@santiagoguzman4259
@santiagoguzman4259 2 года назад
Genial, muy bueno. Larga vida a Flutter!
@muhammedameen1543
@muhammedameen1543 2 года назад
It's next level, flutter the future 🖤🖤
@ayoubelbadaoui7000
@ayoubelbadaoui7000 2 года назад
i have been waiting for this kind of widget thank you flutter team
@ArtemFun
@ArtemFun 2 года назад
it's a pretty old package. And it's not from the official flutter team.
@Aspiiire
@Aspiiire 2 года назад
Less money when dealing with Firestore great 😁
@M37Shadow
@M37Shadow 2 года назад
become more likely (Package of the month) 😁 Well done.
@dizelvinable
@dizelvinable 2 года назад
Great 👍
@atahaneser8863
@atahaneser8863 2 года назад
Awesome
@sithumdilanga650
@sithumdilanga650 2 года назад
awesome
@MrChickenpoulet
@MrChickenpoulet 2 года назад
perfect, was hoping to have some kind of custom key, and there it is: `cacheKey` parameter exists! thanks!
@Lensbreak
@Lensbreak 2 года назад
Does it replace the package flutter_cache_manager_firebase ?
@Problemsolver434
@Problemsolver434 2 года назад
I think this is for all use cases, not just when you're using a firebase backend
@ReneFloor
@ReneFloor 2 года назад
CachedNetworkImage accepts normal urls. When you use firebase storage you can use the firebase cache manager together with CachedNetworkImage to supply gs:// urls. You can set your own cache managers for the image widget. So it doesn't replace the package, they can be used together.
@janammaharjan2699
@janammaharjan2699 Год назад
Thanking you
@flutterdev
@flutterdev Год назад
Glad you liked the video, Janam! Be sure to check out the links in the description for more great tips and tutorials 😎
@dennisk648
@dennisk648 5 месяцев назад
I love how there are no docs on what types of caching are implemented. Is it based on "expires" , "etag", "max age"?
@shahidwani6445
@shahidwani6445 2 года назад
How to move cached image to downloads folder so that user data can be saved
@lusaiblatheef
@lusaiblatheef 2 года назад
Already using this
@ArtemFun
@ArtemFun 2 года назад
me too. it's a pretty old package.
@mulayamyadav5956
@mulayamyadav5956 2 года назад
How do you create this animation? Which application is used ?
@usamahaider7865
@usamahaider7865 2 месяца назад
can anyone help me out if we rendered multiple images in PageView take a time(3s) even local assets then what should we do? preCacheImage and didChangeDependecy did not wok
@mrwalkan
@mrwalkan 2 года назад
I just want to cache an image from url, for multipart request. Any idea?
@jimmorrison2657
@jimmorrison2657 2 года назад
Does this cache the image in memory, or on disk?
@flutterquick
@flutterquick 2 года назад
Doesn't Work For Firebase Fetched images?
@emphieishere
@emphieishere Месяц назад
This is the great package and the Flutter engineers are a great team, but i have one question. Why, even if it is cached, it still "loads" shortly the picture when i select the page in my bottomnavbar where this picture located. why can't it get initially loaded if it is already being cached?
@begula_real
@begula_real Месяц назад
Yup same question here. i was thinking to dowload pictures as local assets and then i do logic, if image link still the same as saved in sharedpref, then ImageAsset will be used instead. If no then delete the old one and dowload the new as local asset Still curious about how this widget works, cause the loading is just kinda same as ImageNetwork usual widget
@andressilva5693
@andressilva5693 2 года назад
What if the image hosted in the URL changes? That is, it's the same URL, but the image changes.. Would CachedNetworkImage update? Or is there a way to force it to update?
@ReneFloor
@ReneFloor 2 года назад
I'm the maker of the package. It uses http cache-control headers to check the validity of the image. So the first important header is the max-age, for example when you set that to 1 day it will use the same (possible old) image for at least a day. After that day it will use the eTag to check if the image is still the same, or outdated. When it's still the same the backend should return a 304 (not modified) and the data usage will be minimal. When it's changed it will return a new file with new cache-control information.
@roman6188
@roman6188 2 года назад
@@ReneFloor thanks for the wonderfull package, It was super handy in old times, but now Image.network caches as well, so can you please tell what the difference?
@jessedawson1454
@jessedawson1454 Год назад
do you have this for video???
@ooings
@ooings 2 года назад
So I can make the graphics on app load with this widget?
@sheelajain370
@sheelajain370 2 года назад
Ya its a pro just that it would increase app data
@shive52gaming66
@shive52gaming66 2 года назад
Please improve the SEO in flutter web
@SergeMatveenko
@SergeMatveenko 2 года назад
Please, allign audio volume on the intro and the voice in the video. IMO, the intro was too loud.
@xtraszone
@xtraszone 2 года назад
Other departments of google are on one side, and flutter team on the other ! Still flutter team wins
@broooth
@broooth 2 года назад
Nice package but don't you hate seeing this weird naming like 'imageUrl' parameter here? It if were just 'url' would it be confusing to a user taking into account that the widget name is 'CachedNetworkImage'?'
@ReneFloor
@ReneFloor 2 года назад
I agree, these are old choices and not weird enough for breaking changes (at least not to me).
@broooth
@broooth 2 года назад
@@ReneFloor No need for breaking changes, just adding `url` field and putting deprecation warning to `imageUrl` (and coping its value to `url` if specified) will do
@user-ko2yo3zx8h
@user-ko2yo3zx8h 2 года назад
Does it update when the url changes ?
@ninjaasmoke
@ninjaasmoke 2 года назад
yes
@pcelis19
@pcelis19 2 года назад
Does it work with Web?
@ReneFloor
@ReneFloor 2 года назад
It does work on web, but doesn't do any caching there. When you use the html renderer the browser manages the caching for you.
@ailikethough.6921
@ailikethough.6921 2 года назад
I don't recommend this package. Your app will crash sometimes
@ymrizal4753
@ymrizal4753 Год назад
what really? how is happen?
@begula_real
@begula_real Месяц назад
Maybe you forgot to place error builder in case some unexpected error happened on loading?
@jhunr8701
@jhunr8701 2 года назад
1st
Далее
font_awesome_flutter (Flutter Package of the Week)
1:48
sensors_plus (Flutter Package of the Week)
2:16
Просмотров 136 тыс.
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
меня не было 9 дней
12:48
Просмотров 2,1 млн
Theme (Flutter Hallowidget of the Week)
3:23
Просмотров 160 тыс.
Freezed (Package of the Week)
2:57
Просмотров 180 тыс.
ShrinkWrap vs Slivers | Decoding Flutter
4:31
Просмотров 119 тыс.
shared_preferences (Package of the Week)
2:07
Просмотров 94 тыс.
AnimatedList (Flutter Widget of the Week)
2:57
Просмотров 378 тыс.
Top 30 Flutter Tips and Tricks
6:50
Просмотров 541 тыс.
path_provider (Package of the Week)
1:44
Просмотров 87 тыс.
Самый быстрый пылесос!
0:30
Просмотров 14 тыс.
Игровой Комп с Авито за 4500р
1:00