Flutter: Stateless and Stateful Widgets

Member-only story

Flutter: A Hitchhiker Guide to Stateless and Stateful Widgets

Daksh Gupta
ProAndroidDev
Published in
6 min readDec 8, 2018

Flutter is a mobile App SDK by Google which helps in creating modern mobile apps for iOS and Android using a single(almost) code base. Unlike other frameworks like React Native.

it neither uses JavaScript as a Programming Language nor it needs an interpreter bridge to convert JavaScript code into native code, instead, it compiles directly into arm binaries and runs on the native platform.

What are Widgets in Flutter?

Everything in flutter consist of Widgets including but not limited to, visible Screen(s), text(s), Button(s), Material Design(s), Application Bar(s) as well as invisible Container(s) and Layout(s)

A flutter application is just a combination of widgets

Types of Widget

As you might have guessed based on the topic of this post, each widget in flutter is either a Stateful Widget or a Stateless Widget

Both widgets differ in only one aspect which is the ability to reload the widget at runtime.

This subtle difference plays a huge role in building interactive flutter applications. Let’s see what…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Published in ProAndroidDev

The latest posts from Android Professionals and Google Developer Experts.

Written by Daksh Gupta

🔹Software Product Development Catalyst 🔹 Tech Speaker & Content Creator 🔹 Bio @ https://CodeSportsAi.Tech

Responses (13)

What are your thoughts?