10 Flutter Tips to Be More Productive

Поділитися
Вставка
  • Опубліковано 22 лип 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 👍👍

  • @makemypetgamedevprocess6475
    @makemypetgamedevprocess6475 2 роки тому

    Awesome video Robert

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

  • @yahyaventure2987
    @yahyaventure2987 3 роки тому +1

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

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

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

  • @basudevnayak8762
    @basudevnayak8762 3 роки тому +1

    Thank you very much

  • @i.k.shaikh3772
    @i.k.shaikh3772 3 роки тому +2

    Those tips were just remarkable mate 😃

  • @pinguluk1
    @pinguluk1 2 роки тому +4

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

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

  • @donathmm3881
    @donathmm3881 3 роки тому

    When will null safety be released?

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

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

  • @vladventura1928
    @vladventura1928 3 роки тому

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

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

  • @andrejvujic
    @andrejvujic 3 роки тому +2

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

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

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

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

  • @fififinance7469
    @fififinance7469 3 роки тому

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

  • @arditdaku5534
    @arditdaku5534 3 роки тому +2

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

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

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

  • @aymanbarghout
    @aymanbarghout 3 роки тому +3

    Discord club assemble! :D

  • @nicoaybar9478
    @nicoaybar9478 3 роки тому

    Tip number 10 = Gucci.

  • @SaminAliMondal
    @SaminAliMondal 3 роки тому +4

    Am I first?

  • @kishansinhparmar
    @kishansinhparmar 3 роки тому +1

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