Flutter-Stateful or Stateless widgets?

Stateless widgets
widgets that don’t need to manage any form of internal state.

"A stateless widget has no internal state to manage. Icon, IconButton, and Text are examples of stateless widgets, which subclass StatelessWidget"

Stateful widgets
Stateful widgets are dynamic.

They allow us to create widgets which can dynamically change their content over time and don’t rely on static states which are passed in during their instantiation.

"A stateful widget is dynamic. The user can interact with a stateful widget (by typing into a form, or moving a slider, for example), or it changes over time (perhaps a data feed causes the UI to update). Checkbox, Radio, Slider, InkWell, Form, and TextField are examples of stateful widgets, which subclass StatefulWidget."

4 Comments

  1. I do not know whether it’s just me or if perhaps everybody else experiencing problems
    with your website. It seems like some of the written text in your content are running off the screen. Can someone else please provide feedback and let me know if this is happening to them as well?
    This may be a problem with my browser because
    I’ve had this happen previously. Thank you

  2. Howdy are using WordPress for your site platform?

    I’m new to the blog world but I’m trying to get started and create my own.
    Do you need any coding expertise to make your own blog? Any
    help would be really appreciated!

  3. Hello there, I found your blog by way of Google even as searching for a related
    topic, your web site got here up, it appears to be like good.
    I’ve bookmarked it in my google bookmarks.
    Hello there, just turned into aware of your blog thru
    Google, and located that it is really informative. I am going to be careful for brussels.
    I will be grateful in case you proceed this in future. Numerous people can be benefited from your writing.
    Cheers!

  4. Oh my goodness! Amazing article dude! Thank you
    so much, However I am going through troubles with your RSS.
    I don’t understand the reason why I can’t subscribe to it.
    Is there anybody having identical RSS issues? Anyone that knows the answer can you kindly respond?
    Thanx!!

Leave a Reply

Your email address will not be published.


*