10 Flutter Tips to Be More Productive

Поделиться
HTML-код
  • Опубликовано: 30 июл 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!

  • @mukaldadhwal5765
    @mukaldadhwal5765 3 года назад +33

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

  • @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)

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

    Thanks Robert really great and well done video :D

  • @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

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

    Great tips, thanks! 👌

  • @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.

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

    Awesome video Robert

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

    Thank you very much

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

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

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

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

  • @i.k.shaikh3772
    @i.k.shaikh3772 3 года назад +2

    Those tips were just remarkable mate 😃

  • @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 11 месяцев назад

    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.

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

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

  • @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...

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

    When will null safety be released?

  • @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

  • @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!

  • @andrejvujic
    @andrejvujic 3 года назад +2

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

  • @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

  • @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

  • @arditdaku5534
    @arditdaku5534 3 года назад +2

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

  • @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.

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

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

  • @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.

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

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

  • @aymanbarghout
    @aymanbarghout 3 года назад +3

    Discord club assemble! :D

  • @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 😊

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

    flutter native splash

  • @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 🙄🤔