4

Stateful vs Stateless Widgets in Flutter

 3 years ago
source link: https://www.raywenderlich.com/20584295-stateful-vs-stateless-widgets-in-flutter
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Stateful vs Stateless Widgets in FlutterGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupShapeGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroupGroup

Spring Ahead Sale — Save on Everything.All videos. All books. Now 50% off.

Build your mobile development skills and save! Stay ahead of the rest with an Ultimate book & video subscription. Starting at just $149/year as part of the Spring Ahead sale.

This course is available as part of the raywenderlich.com Professional subscription. To learn more click here

Stateful vs Stateless Widgets in Flutter

Apr 8 2021 · Video Course (36 mins) · Beginner

Dive into the world of the two main types of widgets in Flutter and learn about their features and differences and when to use each one.

Version

  • Dart 2.8, Flutter, VS Code 1.48

Stateful vs Stateless Widgets in Flutter

Get a brief overview of widgets and the concept of immutability and also create a simple UI using Stateless Widgets.

See how Stateful Widget differs from Stateless Widget with its ability to store a mutable state.

Learn about the lifecycle methods that come with a State object and see how they can be triggered at different times.

Stateless and Stateful Widgets are represented differently in the Element tree. Learn how Keys affect this process.

Get a summary of the difference between the two widget types and explore some in-built widgets in Flutter and see how they qualify for their widget types and use this knowledge to know the type of widget to create.

Who is this for?

Flutter, Android and iOS developers who are getting into Flutter and want to understand the differences between Stateful and Stateless widgets and learn when’s best to use which one.

Covered concepts

  • Stateless Widget
  • Stateful Widget
  • The State Object
  • Widget LifeCycle
  • Working with Keys

Contributors

Emmanuel Okiche

Emmanuel is a Software Engineer with a passion for teaching who has worked with different coding boot-camps. When not creating...

Instructor
Adriana Kutenko

Graphic Illustrator with a Bachelor’s Degree in Fine Arts. I am a perpetual perfection seeker with a big passion for History...

Illustrator

Comments

Add a rating for this content

Sign in to add a rating

Spring Ahead Sale —
Save on Everything.
All videos. All books. Now 50% off.

Build your mobile development skills and save! The mobile development world moves quickly — make 2021 the year you stand out from the rest. Ultimate book & video subscriptions start at just $149/year for as part of our Spring Ahead sale.

The largest and most up-to-date collection of courses and books on iOS, Swift, Android, Kotlin, Flutter, Dart, Server-Side Swift, Unity and more!

All videos. All books. One low price.

A raywenderlich.com subscription is the best way to learn and master mobile development — plans start at just $19.99/month!

Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalogue of 50+ books and 4,000+ videos.

  • © 2021 Razeware LLC
  • Made with ♥ from around the world
  • 6000+ Tutorials and counting

raywenderlich.com and our partners use cookies to understand how you use our site and to serve you personalized content and ads. By continuing to use this site, you accept these cookies, our privacy policy and terms of service .


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK