Let's migrate this app to null safety

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

ความคิดเห็น • 31

  • @AngelGMaxwell
    @AngelGMaxwell 3 ปีที่แล้ว +11

    I loved your presentation! easy to understand with a calm and natural pace

  • @budomoalec2092
    @budomoalec2092 3 ปีที่แล้ว

    Waouu i like it.This is helpful and well presented. I followed the instructions given through the whole presentation and my code ran without errors.Thanks Mr. Petersen.....Leaf Petersen

  • @opethrulez25
    @opethrulez25 3 ปีที่แล้ว +1

    Amazing presentation Mr. Petersen 🙌 Thank you

  • @zcageapps
    @zcageapps 3 ปีที่แล้ว +3

    More excellent (tool and _presentation_) than many realize. Thanks!

  • @mister_cjw
    @mister_cjw 9 หลายเดือนก่อน

    Thanks for this. Seemed a bit daunting at first, but the migration tool is very helpful.

  • @MrNiceseb
    @MrNiceseb 3 ปีที่แล้ว +3

    if a package does not have null safety support, then we cannot migrate until flutter pub outdated --mode=null-safety -> shows null safety support [✓] ? What would happen if migrated with some packages showing ✗ symbol?

    • @Nico-qu4ve
      @Nico-qu4ve 3 ปีที่แล้ว

      This is confusing me too. Now I don't know what to do

  • @shantanukulkarni007
    @shantanukulkarni007 3 ปีที่แล้ว +5

    I get this error while running dart migrate. Error: Error when reading 'migrate': The system cannot find the file specified. Running flutter upgrade says everything is up to date and I am stable channel

  • @garyhunter44
    @garyhunter44 3 ปีที่แล้ว +3

    Very clearly explained. Thanks

  • @4limusic542
    @4limusic542 3 ปีที่แล้ว +2

    good work flutter team .

  • @nikolajovic3161
    @nikolajovic3161 3 ปีที่แล้ว

    Great Speaker! Thanks!

  • @algeriennesaffaires7017
    @algeriennesaffaires7017 3 ปีที่แล้ว

    This null safety is not clear for me, I can't understand what's is null safety in first place

  • @rvowles99
    @rvowles99 3 ปีที่แล้ว +1

    It is painful that all of the collection apis didn't add a mechanism to migrate T? To T. E.g List To List now there is a annoying set of extension methods people will need to duplicate everywhere.

    • @rvowles99
      @rvowles99 3 ปีที่แล้ว

      These essential collection apis for null safety are actually in a different package, the external collection package.

  • @EntnimraS
    @EntnimraS 3 ปีที่แล้ว

    GOOOD GUIDE GUYS!!!

  • @aupas1373
    @aupas1373 3 ปีที่แล้ว

    amayzing concept!!. but i have a preocupation... in which time can we migrate our code ? before starting app or in the end ?

    • @wickedgummybear3104
      @wickedgummybear3104 3 ปีที่แล้ว

      I don't know everything but if you mean, before making the app or during/after, I would probably save myself the hassle and start with the nullsafety on. But that's a personal opinion. Other people might do it different

  • @yoapps137
    @yoapps137 3 ปีที่แล้ว

    very weird ... I had a conflict ... and the documentation said to run it with a flag --skip-import-check ??? what about covering stuff like that???

  • @Pedro5antos_
    @Pedro5antos_ 3 ปีที่แล้ว

    thanks for the tool!

  • @bikrampoudel4848
    @bikrampoudel4848 3 ปีที่แล้ว +1

    I am exhausted with this null safety. I can not even declare global variable which will be surely initialized in a function. I am exhausted...

  • @MuhammadBilal-cd6kt
    @MuhammadBilal-cd6kt ปีที่แล้ว

    Amazing

  • @ehsanhasin
    @ehsanhasin 2 ปีที่แล้ว +1

    great

    • @flutterdev
      @flutterdev  2 ปีที่แล้ว

      We're glad this was helpful, Ehsan 😄
      If you're interested in delving furthering into the subject, here's a great resource on how and when to migrate your code to null safety:
      goo.gle/2NvdXZB

  • @zesegatto
    @zesegatto 3 ปีที่แล้ว

    south america map?

  • @TheKalam789
    @TheKalam789 3 ปีที่แล้ว +5

    9:49 If migration tool is not perfect then why you introduce this?

    • @musliminontong2611
      @musliminontong2611 3 ปีที่แล้ว +1

      they just want to inform you about the new features of FLutter sdk 2

    • @Rainbowsaur
      @Rainbowsaur 3 ปีที่แล้ว +2

      Can anyone really make it perfect? lol...

    • @aupas1373
      @aupas1373 3 ปีที่แล้ว

      as for me, this is really fantastic, nonetheless it secures your code but reduces the size of your application.

  • @MrNiceseb
    @MrNiceseb 3 ปีที่แล้ว

    a bit confusing, dart migrate is not dart migrate, but instead just giving a preview? then why not call it dart migrate preview, or dart preview

    • @jeremyamon24
      @jeremyamon24 3 ปีที่แล้ว

      Watch the whole video. There's literally a button named "apply migration".