Keeping it local: Managing a Flutter app's data

Поделиться
HTML-код
  • Опубликовано: 12 янв 2025

Комментарии • 74

  • @chichebem
    @chichebem 4 года назад +35

    Thanks for the video. It explains some of the basic concepts on how to manage data locally taking advantage of disk-read speed and I definitely picked up on the concepts. Please a future video on how to sync local data to the cloud once internet connection is established will be greatly appreciated.

  • @thkp-eng
    @thkp-eng 4 года назад +8

    Super important topic! It's something that we've spent a lot of time striking the right balance (what to cache, what is absolutely critical to have fresh from the server.) Thanks for making this video!

  • @timofrommann3292
    @timofrommann3292 4 года назад +1

    It's not only informative. I love listening to Andrew. Such a joy and never booring

  • @rebarius
    @rebarius 3 года назад

    Omg, why did I never view this awesome video ✨ thank you so much Andrew Fitz 💪🏼 I understood every single word 👌🏼

  • @fegyi001
    @fegyi001 4 года назад +6

    Very informative, easy to follow, thanks a lot!

  • @jonathaalves3743
    @jonathaalves3743 3 года назад +4

    What if I wanted to save files locally in a structured database until I eventually got connected to the internet, how could I do that sync thing?

  • @333tuberob
    @333tuberob 4 года назад

    This video is perfect timing for me. Performance using local storage is crucial. You explained the concepts Really we'll. I would imagine this is important for flutter on the web, with different storage options to engineer than mobile. All good 👌 cheers.

  • @AJ-nn9xn
    @AJ-nn9xn 4 года назад +2

    Brilliantly presented thanks. Can you do a follow up showing best practice for refreshing locally stored / cached data once internet is available again?

  • @kirill4531
    @kirill4531 4 года назад

    A great video for beginners on how and why store data locally!
    Thank you

  • @UmairAhmadh
    @UmairAhmadh 4 года назад +3

    Don't look at this and complain, this is for my reference:
    -------------------------------------------
    9:34 Shared Preference
    23:43 Caching images to disk
    31:52 SQFLite

  • @markusmcgee
    @markusmcgee 4 года назад

    Good video. One of the better Flutter videos I have seen.

  • @nwparker7
    @nwparker7 4 года назад +6

    How did you get the waiting times to display in the terminal? Looks useful

    • @kirill4531
      @kirill4531 4 года назад

      .addListener to this question :)

  • @sumailsasumi1294
    @sumailsasumi1294 4 года назад +7

    Midnight course 😴, need some coffee here

    • @keshavchetty5174
      @keshavchetty5174 4 года назад

      Same here....midnight studying. Ain't nothing better.

  • @jagmit
    @jagmit 4 года назад +1

    Which extension do you use for the TODO comment at 25:20?

  • @anmolkapoor1068
    @anmolkapoor1068 4 года назад +4

    It would have been useful if you would have explained a bit more on how to delete those cached images automatically after we hit a certain memory level.

    • @kirill4531
      @kirill4531 4 года назад

      There is a cache manager property, I think that's what you need

    • @anmolkapoor1068
      @anmolkapoor1068 4 года назад

      @@kirill4531 yeah I know about that, but I wanted to know how to use that efficiently or perfectly according to different needs.

  • @MultiChicao
    @MultiChicao 4 года назад

    Excellent explanations!! Thank you for sharing your knowledge. 👏🏽👏🏽👏🏽

  • @RishikeshShede
    @RishikeshShede 3 года назад

    Thanks, man! This was really helpful and much needed 💯💖

  • @hasansalim1868
    @hasansalim1868 4 года назад

    Thanks Andrew. Very nice presentation

  • @JuanGuillermoFuentes
    @JuanGuillermoFuentes Год назад +1

    Hi guys, I need some help: We are working in a streaming app for android tv (in flutter) and after a few days the screen goes to black, exist some option to refresh automaticly (once a day for example) the caché to fix that problem?

  • @trailforger
    @trailforger 4 года назад +1

    Could you list the common uses of shared preferences? I understand it is not for critical data, but that's all I know right now.

    • @kirill4531
      @kirill4531 4 года назад

      Go to officiall Flutter docs site

  • @symbally
    @symbally 4 года назад

    good content and happily able to digest, thanks for making this

  • @arifyogawiranto1687
    @arifyogawiranto1687 4 года назад

    Great explanation. What extension in vscode to flutter?

  • @_Amilio_
    @_Amilio_ 4 года назад

    Awesome lecture thank you. Moar of these pls!

  • @warperone
    @warperone 4 года назад

    do you have series of similar videos - great way to learn flutter

  • @hoggish
    @hoggish 4 года назад

    Really good explanation Thank you

  • @netdevilzzz
    @netdevilzzz 3 года назад

    Great video. Thanks!

  • @ExtraServingsBTS
    @ExtraServingsBTS 4 года назад +1

    sweet! App feels much snappier.

  • @stingtao
    @stingtao 2 года назад

    great explanation!

  • @gripzy7571
    @gripzy7571 4 года назад +3

    What is the best way to save API keys

    • @aminabekir903
      @aminabekir903 4 года назад

      Save it in .env file

    • @kirill4531
      @kirill4531 4 года назад

      Those that are present in Android Manifest file you can't do anything about it, they will be visible any way.
      Those that you can use in the code try to encode them

  • @DrMilde
    @DrMilde 3 года назад

    Hi Andrew, nice explanation, thx, please note,that CachedNetworkImage is working fine, but after some time (say a couple of weeks) you get cache errors, images are somehow not readable anymore ... this will eventually crash the app 😭 only solution I found, is clearing the Cache from time to time.
    Best wishes jt

  • @Wilhelmification
    @Wilhelmification 4 года назад +5

    I think it will be useful to have video about console commands

    • @kirill4531
      @kirill4531 4 года назад +2

      Yeah, especially how you can enter the app's data folder in AndroidStudio

  • @tuobraun
    @tuobraun 4 года назад +2

    Brilliant lecture. Thank you so much

  • @aimnblbol
    @aimnblbol 3 года назад

    Anybody knows how he connected to the ios device through the command line? I wish he said so in the video. It would have helped. Nice video. Thanks

  • @fabiosabbion4930
    @fabiosabbion4930 4 года назад +1

    Loved the video, but light theme in vs code should be illegal

  • @nargessadeghi3915
    @nargessadeghi3915 4 года назад

    can you please make a course about comparing database packages? like sqflite, moor, hive, objectDB, sembast?
    or can anyone introduce any?

  • @PrakashIndorkar
    @PrakashIndorkar 4 года назад

    Hi .. I'm waiting for next video .. how you'll manage api provider data and local data to keep them in sync.

  • @kirill4531
    @kirill4531 4 года назад

    I see you can access app's files in the terminal, why I can't access this folder in AndroidStudio in File Explorer tab?

    • @Ainigma
      @Ainigma 4 года назад

      vs code maybe

  • @vrajendramandloi5917
    @vrajendramandloi5917 3 года назад

    hi ,, i am using flutter SDK 1.20 a bit old not yet upgraded to 2.10+ can you suggest me how to create external Storage Folders in Android?? This is Quite important to me as Android 11 is not allowing me to create external Storage. Kindly reply me or ping me directly...

  • @youssefmuhamad3213
    @youssefmuhamad3213 4 года назад +1

    I'm still waiting a simple and out of the box solution for state management in Flutter, like React Hooks and Context API. There are a bunch of cool built-in widgets already, invest more time creating some cool abstraction for us.

  • @jeroboam4486
    @jeroboam4486 4 года назад +12

    I don't want to be negative but frankly I don't see the point of this 45 minutes video to say that "yeah you can store data locally" ... duh.
    Now I would have loved a video about how to sync your local unconnected data to the cloud once you're connected.

    • @BillyMahmood
      @BillyMahmood 4 года назад +1

      True

    • @mrunfunny
      @mrunfunny 4 года назад +1

      true, but for beginners, this video does a great job at explaining why we need to store data locally, what are benefits and different ways to store it.

  • @NOPerative
    @NOPerative 2 года назад

    AWESOME vid!

  • @Catherine-e7f
    @Catherine-e7f 4 года назад

    are there app with flutter?
    I do not see anywhere
    flutter -> fake ?

  • @shaysframe1472
    @shaysframe1472 7 месяцев назад

    Why you never hide the terminal....

  • @nicolasdupere
    @nicolasdupere 4 года назад +1

    Flutter forever

  • @srourganoush5941
    @srourganoush5941 3 года назад

    Thank you, God bless you

  • @scottgodfrey7855
    @scottgodfrey7855 4 года назад +2

    "Without data, the app would be uninformed." Was that an intentional pun?

  • @yazidkrayem7408
    @yazidkrayem7408 4 года назад +2

    Thank you for this video, but images still loading slow even if we save it and call locally

    • @yazidkrayem7408
      @yazidkrayem7408 4 года назад

      @teriitube I was using Flutter-web, and I had images inside the assets folder. The problem was with the image size(over 1Mb). I published it, and the images were loading slower than I expect. Whatever I should use flashy for those images. (I will use it for the next project :D)

  • @scottishking9731
    @scottishking9731 4 года назад +1

    I’ve encountered problem after problem downloading flutter five days and four times deleting everything and redownloading and its still not working ready to delete it all permanently. Absolute joke this. They want people to get into tech, but make the process of it that problematic it puts us off. And on top of that flutter doesn’t even have any kind of customer service and i joined reddit just to try and get help and still not further forward. Cant even speak with anyone for help with android studio either tech companies with no tech support laughable.

    • @coppice8412
      @coppice8412 3 года назад +1

      Hm, I felt like the Flutter setup was one of the easiest that I had to do

  • @ChanakaJ
    @ChanakaJ 3 года назад

    Brilliant !!!

  • @samuelmayowa3857
    @samuelmayowa3857 4 года назад

    Nice video

  • @Mendez_84
    @Mendez_84 4 года назад

    But you said *state* ment

  • @Pedro5antos_
    @Pedro5antos_ 3 года назад

    Thanks a lot

  • @housemajaliwa
    @housemajaliwa 2 года назад +1

    Lovely

  • @shedrackejeh6542
    @shedrackejeh6542 4 года назад +4

    Why is statement management a nightmare in flutter

    • @khulegu
      @khulegu 4 года назад +4

      when is it a nightmare? there are so many easy solutions like provider, stream.

    • @sim632
      @sim632 4 года назад

      It's not, it's pretty good actually

  • @crnofficial
    @crnofficial 4 года назад +1

    🕺🏾