Master Documentation in Flutter

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ก.ค. 2024
  • Understanding documentation is one of the most important topics for developing any kind of software. Here is a way that I recommend using the documentation in Flutter!
    Course to build a production-ready app 👉 robertbrunhage.com/course
    Full writeup: robertbrunhage.com/videos/mas...
    👉 Have additional questions, join Discord: / discord
    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
    01:08 Elevated Button
    02:05 Custom Button
    02:56 SDK Docs
    08:14 Normal Docs

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

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

    You can find the short written post here: robertbrunhage.com/videos/master-documentation-in-flutter
    hope you have had an awesome week!

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

    JIT! Thanks!
    A video about writing proper Flutter documentation would be great!

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

      Thanks for the idea!

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

      Yes, this was also my hope to learn when I read the video title 😃👍🏻

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

      @@youtornado I also thought that

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

      @@youtornado So do I haha

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

    Made it complicated to simple...🔥

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

    thank you so much i needed this

  • @abdurahmansheikh-omar4597
    @abdurahmansheikh-omar4597 ปีที่แล้ว

    great video man really good 2023....

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

    I'm just happy to discover your channel.

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

    Hello, My question is how to extract the custom widget and how to use the remove comments command? is there a plugin for using these things?

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

    Awesome.. 👍

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

    Awesome video as usual!
    I had a request, can you make a video on Flame?
    It's used to make 2D games using Flutter.

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

      Have not done anything in Flame, but maybe in the future :)

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

    Hi, Nice Tutorial,
    what theme are you using?

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

    Awesome!

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

    i love your videos

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

    Question, I come from a more functional background, so I tend to functionalize my common widgets. What is the problem with this instead of your example?
    ElevatedButton myElevatedButton({void Function() onPressed, Icon icon, String label}) {
    return ElevatedButton.icon(
    onPressed: onPressed,
    icon: icon,
    label: Text(label),
    );
    }

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

      From what I understand, you may lose access to the context this way, although you can pass the context around, in certain cases, it's not recommended.
      Let's take for example you want to trigger a snack bar, you won't be able to access the snackbar because of how inherited widgets work.

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

      @@danielagbemava Exactly, but if you don't use the context, does it cut through more than lines of code to make it a function instead of inheriting from a stateless widget, then building a context if you won't use it?

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

      @@jrheisler you'll definitely cut down the lines of code, but it comes with a performance cost. Check out this package, there are links to discussions that explain why the classes are preferred, although the package aims to solve some of the performance issues. pub.dev/packages/functional_widget

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

      The other answers here are great, I recommend reading through the answer here: stackoverflow.com/questions/53234825/what-is-the-difference-between-functions-and-classes-to-create-reusable-widgets
      It will give you a lot better understanding than me trying to answer it here haha

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

      @@RobertBrunhage since I am only using these "wrappers" around the widget, I am actually only writing it once, so I might as well make it a widget returning a widget, instead of returning a widget. I guess ;)

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

    how to use flutter documentation efficently over stackoverflpw

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

    Liked, and commented for your algo

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

    GUYS TAKE ROBERT AS AN EXAMPLE - MIGRATE TO NULL SAFETY!

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

    Thank you for the great content.
    I would like to request a complete video serious about GetX state management package.
    Since it's a trending state management solution it would helpful for all of us.
    Thank you again!

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

      Been thinking of making some kind of video on it, but I don't really like making videos on things that I haven't worked with...
      Have it written up so maybe in the future!

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

    misleading and confusing. not explaining how to ACTUALLY use flutter docs!!!!!

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

      From a beginners perspective, the flutter docs (in the website) look pretty straight forward. All is there.
      I learned a lot from this video. You can actually access the documentation straight from the IDE.
      Many of my questions really come from the coding conventions more than the tools on the website.
      On my part, I loved this video.