No video

Stateful Widget Lifecycle and Stateless Widgets | Widget Lifecycle | Hindi

  Рет қаралды 8,252

Ahirlog

Ahirlog

Күн бұрын

In Flutter, a stateful widget is a widget that maintains state, or stateful data, throughout its lifecycle. A stateless widget, on the other hand, is a widget that does not maintain state and is rebuilt every time its parent widget is rebuilt.
The lifecycle of a stateful widget consists of several stages, including creation, initialization, building, and disposal.
Here is an overview of the lifecycle of a stateful widget in Flutter:
Creation: The stateful widget is created and a new instance of its associated state class is also created.
Initialization: The initState method is called on the state object. This is the first method to be called in the lifecycle of a stateful widget and is a good place to perform one-time setup tasks, such as initializing variables or performing async operations.
Building: The build method is called on the state object. This method is responsible for building the widget tree that represents the widget. The build method is called every time the widget's parent widget is rebuilt, and is used to update the widget's appearance.
Disposal: The dispose method is called on the state object when the widget is removed from the tree. This is a good place to perform cleanup tasks, such as disposing of resources or canceling async operations.
Blog: www.ahirlog.co...
My KZfaq Gear:
Boya BYM1(Mic): amzn.to/3bvm69j
Redmi Note 7 Pro(Mic & Camera): amzn.to/3uRkVsb
MSI Motherboard: amzn.to/3fiQHYO
Intel i3 Processor: amzn.to/3w8TWbQ
Mouse: amzn.to/3yb8PMP
Keyboard: amzn.to/3bvmtkd
Wifi Adaptor: amzn.to/3fiQYuO
SSD: amzn.to/3w2w2Pa
Speakers: amzn.to/3w6pKhv
Instagram: / ahirlog
Facebook: / ahirlog
Twitter: / ahirlog
KZfaq: / ahirlog
#ahirlog #flutter #dart
Last Summer by Ikson: / ikson​
Music promoted by Audio Library • Last Summer - Ikson (N...

Пікірлер: 8
@pratyushvaibhav
@pratyushvaibhav Жыл бұрын
Really thanks , the content was awesome.
@30vijaytyagi9
@30vijaytyagi9 10 ай бұрын
Thank You Sir
@bobhero7
@bobhero7 Жыл бұрын
Thank you sir!
@Gymzilla_
@Gymzilla_ Жыл бұрын
OSM
@ahirlog
@ahirlog Жыл бұрын
Thank you
@codewithroman8180
@codewithroman8180 Жыл бұрын
Sir start project on ur channel
@sa1n1v1pul
@sa1n1v1pul Жыл бұрын
Aapka contact no. Milega sir?? I really need
Lifecycle of a Widget | FlutterVikings 2022
41:33
Flutter Community
Рет қаралды 12 М.
黑天使遇到什么了?#short #angel #clown
00:34
Super Beauty team
Рет қаралды 48 МЛН
Please Help Barry Choose His Real Son
00:23
Garri Creative
Рет қаралды 23 МЛН
Widget Life Cycle in Flutter Explained | Flutter Basics
10:21
Rivaan Ranawat
Рет қаралды 8 М.
Learn Flutter Life Cycle In 10 Minutes
10:02
Robert Brunhage
Рет қаралды 74 М.
Crazy Flutter Interview Questions: Expert Tips & Insight
21:59
Code Red Clan
Рет қаралды 8 М.
What I ask Junior and Senior Flutter Developers in a Job Interview
12:19
State and State Management in Flutter | Hindi
5:12
Ahirlog
Рет қаралды 12 М.
黑天使遇到什么了?#short #angel #clown
00:34
Super Beauty team
Рет қаралды 48 МЛН