Stateless Widget and Stateful Widget in Flutter | #99 | Hindi
10.4 هزار بار بازدید -
3 سال پیش
-
In Flutter, a widget is
In Flutter, a widget is a class that represents a user interface element, such as a button, a text field, or a list view. There are two main types of widgets in Flutter: stateless widgets and stateful widgets.
Stateless widgets are widgets that do not have any internal state or data that needs to be preserved across multiple build cycles. These widgets are designed to be immutable, and they are built every time they are rendered in the user interface.
Stateless widgets are useful for creating simple widgets that do not need to maintain any internal state, such as buttons, labels, and text fields. Stateless widgets are also faster and more efficient to build than stateful widgets, because they do not need to retain any state between build cycles.
My YouTube 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
----------------------------------
Build() Method and BuildContext in Flutter | #98
• Build() Method and BuildContext in Fl...
File and Folder Structure of the Flutter Project | #97
• File and Folder Structure of the Flut...
Single Child Layout Widgets and Multi Child Layout Widgets| Flutter | #96
• Single Child Layout Widgets and Multi...
Mixin in Dart and with Keyword | #58.9
• Mixin in Dart and with Keyword | #58....
Difference Between Extends and Implements Keyword in Dart | #58.8
• Difference Between Extends and Implem...
Callable Class in Dart | #58.7
• Callable Class in Dart | #58.7 | Hindi
Libraries in Flutter and Dart | #95
• Libraries in Flutter and Dart | #95 |...
Foreach Loop in Dart | #58.6
• For each Loop in Dart | #58.6 | Hindi
---------------------------------
Instagram: www.instagram.com/ahirlog/
Facebook: www.facebook.com/ahirlog
Twitter: twitter.com/ahirlog
YouTube: youtube.com/ahirlog
#ahirlog #flutter #dart
Last Summer by Ikson: www.soundcloud.com/ikson
Music promoted by Audio Library • Last Summer – Ikson (No Copyright Music)
3 سال پیش
در تاریخ 1400/05/01 منتشر شده
است.
10,464
بـار بازدید شده