10 Flutter Tips to Be More Productive

Sdílet
Vložit
  • čas přidán 27. 07. 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

Komentáře • 62

  • @jrheisler
    @jrheisler Před 3 lety +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 Před 3 lety +33

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

  • @MrJerikoSalivan
    @MrJerikoSalivan Před 3 lety +1

    Great tips, thanks! 👌

  • @Aspiiire
    @Aspiiire Před 3 lety +1

    Thanks Robert really great and well done video :D

  • @makemypetgamedevprocess6475

    Awesome video Robert

  • @ProspectivePlans
    @ProspectivePlans Před 3 lety +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 Před 2 lety

      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

  • @yahyaventure2987
    @yahyaventure2987 Před 3 lety +1

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

  • @ParabTarak
    @ParabTarak Před rokem +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  Před rokem +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)

  • @ZbigniewLorenz
    @ZbigniewLorenz Před 3 lety +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  Před 3 lety +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.

  • @basudevnayak8762
    @basudevnayak8762 Před 3 lety +1

    Thank you very much

  • @i.k.shaikh3772
    @i.k.shaikh3772 Před 3 lety +2

    Those tips were just remarkable mate 😃

  • @elidwor1856
    @elidwor1856 Před 3 lety +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  Před 3 lety

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

    • @DanVanDamme
      @DanVanDamme Před 3 lety +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  Před 3 lety +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 Před 11 měsíci

    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 Před 2 lety +4

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

  • @kemids2842
    @kemids2842 Před 3 lety +1

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

    • @RobertBrunhage
      @RobertBrunhage  Před 3 lety

      Have plans for it!

    • @kemids2842
      @kemids2842 Před 3 lety +1

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

  • @andrejvujic
    @andrejvujic Před 3 lety +2

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

  • @tharwatsamy
    @tharwatsamy Před 3 lety +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  Před 3 lety +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 Před 3 lety

      @@RobertBrunhage thx a lot ❤️

  • @vladventura1928
    @vladventura1928 Před 3 lety

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

  • @xerotolerant
    @xerotolerant Před rokem

    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 Před 3 lety +2

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

  • @alexusmanov8450
    @alexusmanov8450 Před 3 lety

    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 Před 3 lety +1

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

  • @yogithesymbian
    @yogithesymbian Před 3 lety

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

  • @donathmm3881
    @donathmm3881 Před 3 lety

    When will null safety be released?

  • @fififinance7469
    @fififinance7469 Před 3 lety

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

  • @agueroalvaro
    @agueroalvaro Před 3 lety +2

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

    • @RobertBrunhage
      @RobertBrunhage  Před 3 lety

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

    • @savvazaicev
      @savvazaicev Před 3 lety

      use flutter outline

  • @philiposdrontzas3725
    @philiposdrontzas3725 Před 3 lety

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

  • @riteshkumartiwari153
    @riteshkumartiwari153 Před 3 lety +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  Před 3 lety +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 Před 3 lety

      @@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 Před 3 lety +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 Před 3 lety +2

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

    • @RobertBrunhage
      @RobertBrunhage  Před 3 lety +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 Před 3 lety +1

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

  • @aymanbarghout
    @aymanbarghout Před 3 lety +3

    Discord club assemble! :D

  • @ahmedmohamed1340
    @ahmedmohamed1340 Před 3 lety +1

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

  • @sheelajain370
    @sheelajain370 Před 3 lety

    flutter native splash

  • @nicoaybar9478
    @nicoaybar9478 Před 3 lety

    Tip number 10 = Gucci.

  • @SaminAliMondal
    @SaminAliMondal Před 3 lety +4

    Am I first?

  • @kishansinhparmar
    @kishansinhparmar Před 3 lety +1

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