10 Flutter Tips to Be More Productive

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.ค. 2024
  • Getting to know small (and big) tips can oftentimes make us see things we didn't think of. This one will boost your productivity and make a lot of things easier!
    Course to build a production-ready app 👉 robertbrunhage.com/course
    Full writeup: robertbrunhage.com
    👉 Have additional questions, join Discord: / discord
    Give him a follow: / bleyldev
    Want to support me?
    ♥ Patreon: / robertbrunhage
    ♥ BuyMeACoffee: buymeacoffee.com/robertbrunhage
    ♥ Paypal: paypal.me/robertbrunhage
    ····················································································
    You can find me on:
    ● Website: robertbrunhage.com
    ● Twitter: / robertbrunhage
    ● Discord: / discord
    ····················································································
    😎 Subscribe: bit.ly/2SUyRhx
    00:00 Overview
    00:20 Tip Number 1
    01:07 Tip Number 2
    01:52 Tip Number 3
    03:28 Tip Number 4
    04:00 Tip Number 5
    05:01 Tip Number 6
    05:57 Tip Number 7
    07:37 Tip Number 8
    09:10 Tip Number 9
    10:08 Tip Number 10

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

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

    Tip 11, stay on top of your package updates!!! I just did my firebase, which I hadn't touched since before the big change. Ugh, but lesson learned. Thanks, great tips!

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

    Awesome video Robert

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

    Great tips, thanks! 👌

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

    Thanks Robert really great and well done video :D

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

    Regarding tip#9, you can also use log('message') by importing 'dart:developer'. So in debug console the log messages are printed as [log] message with orange colour which separates them from other logs.

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

      Be aware that, only supported editors parses those messages. I am quite sure at least that the logs in terminal doesn't show these (I could be wrong though)

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

    Bro' your channel is GOLD CONTENT
    Keep it up 🥇👌

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

    Thank you very much

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

    This is really a underrated channel because its TOO useful for flutter developers like me....keep up the good work 👍👍

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

      Thanks Mukal, appreciate it a ton!

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

    I can’t wait to use the productivity tips in my life! 💫 Keep rising to be who you want to be! 💫 #keeprising #risingtobe #aswerise #riser

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

      I guess im randomly asking but does any of you know a trick to log back into an Instagram account..?
      I was stupid lost my login password. I would appreciate any tricks you can give me

  • @i.k.shaikh3772
    @i.k.shaikh3772 3 ปีที่แล้ว +2

    Those tips were just remarkable mate 😃

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

    Actually adding a lot of packages is a recipe for a big mess :)
    It's ok at the beginning - when prototyping. In production code I'd think twice before inviting any outer dependency to my app. And I'd keep them wrapped by my own code - leaving myself the option of replacing them or implementing in a different way in future.

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

      Yes I agree, it's suboptimal relying on a bunch of packages BUT it's not even worth it if the projects takes too much time or it doesn't have the right functionality the user actually want.
      I would never argue though that you should architecture the code in such a way that you can replace different parts / packages with ease.

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

    This is fantastic content. In some cases #1 is great advice, you just need to be meticulous. I've learned that you have to use packages in a way where you can comfortably remove the dependency in the future if needed.

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

      Exactly! Should have been more clear in the video about that but I agree fully!

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

      I think it would be useful for us beginners to see a video on how to use packages in a way where you can comfortably remove the dependency in the future. Is there such a video?

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

      @@DanVanDamme Will write it down, have to figure out a good way to do it, as this is not specific to packages but more coding in general to keep your dependencies separate 😊

  • @_erayerdin
    @_erayerdin 10 หลายเดือนก่อน

    The example you've given in 7:42 to apply a certain style to multiple widgets, that can even be more simplified by wrapping the Column with Theme widget.

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

    2:35 add the lint to the dev_dependencies, not dependencies ❗

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

    love you videos! can you make more riverpod tutorials please!

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

      Have plans for it!

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

      @@RobertBrunhage omg! cant wait! thank you Robert! your the best

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

    Oh the style reminds me of Fireship.io; its really nice!

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

    Ur tutorial r really great and i'm learning a lot from u , question outside of flutter 😅 how do u make these great thumbnails

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

      Thanks, super appreciated!
      I make them in Figma!
      I look at other thumbnails for inspiration, and then just remake the thumbnail a couple of times applying some design fundamentals and done, MAGICAL

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

      @@RobertBrunhage thx a lot ❤️

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

    On tip number 5 , how you can refactor like that ? What shortcut ?

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

    When will null safety be released?

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

    What VSCode theme are you using? Great video, I loved it!!

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

    Yay I'm the 4th comment. Thanks for the video!

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

      Close enough right? Thanks Ardit!

  • @xerotolerant
    @xerotolerant ปีที่แล้ว

    My problem with number 1 is that often the effort to learn a package exceeds what it would take to just write what I need.
    Some packages do so much that it is easier to just roll your own using widgets. Like making a histogram. It takes like 20 minutes with containers and rows. Vs however long it takes to learn to use one of the major libraries

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

    Hello!
    I recently updated VSCode and I am having as on 3:41 ,where autocomplete produces double set of parentheses and parameters. Does anyone know how to solve this issue?

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

      I moved to Android Studio cuz of that bug...

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

    Thanks!! How to enable Extract Widget tooling in Android Studio?

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

      I think it should be on by default, try doing alt+enter and see if you get up the tooling window!

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

      use flutter outline

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

    For Android Studio:
    - Tip number 2 with snippets: Search for _Live Templates_ in *Settings*

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

    I literally procrastinate by watching videos and pretending it is self-help eeek!

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

    what will be future of flutter can we trust its going to be there in market or in future we are going to have jobs???

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

      The market is growing at a very quick speed but if that is your goal to have a job ASAP, I would go with what your area is looking for

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

      @@RobertBrunhage I am mobile app developer n i have knowledge of native as well flutter...but now i am thiking to give 100% study to flutter.....if i am going to be only flutter developer then i will get jobs or there i need to wait more time for flutter to get mature

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

      In india currently you have more react native jobs compared to flutter. In coming years it might change as flutter is growing big. Zerodha and dream 11 are two big companies that use flutter in india.

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

    I didn't get the point of making Widget classes private. What's the point of doing this?

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

      This has three main benefits...
      1. You give proper names to parts of that public facing widget
      2. Reduce nesting tremendously
      3. You make that private widget only be used with the public facing one.
      It's almost the same as instead of one mega method you would have multiple small methods you call which are private 😊

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

      Limit it's use to the current file = cannot accidentally call it from another file/scope.

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

    flutter native splash

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

    using a lot of packages is not good bro by looking the app size and some how the app speed

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

      I talked about the reason when I said it 😊

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

    Discord club assemble! :D

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

    Am I first?

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

    Tip number 10 = Gucci.

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

    Is I'm only who doesn't see a TIP Number 4 🙄🤔