parent
3261c222f6
commit
31aeb32b8b
4 changed files with 33 additions and 3 deletions
@ -1 +1,9 @@ |
||||
# Immutability |
||||
# Immutability |
||||
|
||||
Immutability in Flutter refers to objects that cannot be changed once they are created. In Flutter, immutability is used to ensure that objects in the widget tree are not modified unexpectedly, which can lead to unexpected behavior and bugs in the app. |
||||
|
||||
In Flutter, objects that represent the state of the app, such as widgets and their properties, are considered immutable. When the state of the app changes, a new object is created to represent the new state, and the widget tree is rebuilt with the updated objects. |
||||
|
||||
Learn more from the following links: |
||||
|
||||
- [Immutable data in Flutter](https://dart.academy/immutable-data-patterns-in-dart-and-flutter/) |
@ -1 +1,10 @@ |
||||
# Trees |
||||
# Trees |
||||
|
||||
A tree is a data structure that is used to represent the hierarchy of widgets in a Flutter app. The tree structure allows Flutter to manage the layout, styling, and behavior of the widgets in the app. |
||||
|
||||
A Flutter app's widget tree is created by composing smaller widgets into larger ones, which are then added to the tree. The root node of the tree represents the entire app, while the other nodes represent individual widgets. |
||||
|
||||
Learn more from the following links: |
||||
|
||||
- [Beginning Flutter — Understanding Tree](https://medium.com/@JediPixels/beginning-flutter-understanding-the-widget-tree-3513c94dc356) |
||||
- [Tree in Flutter](https://docs.flutter.dev/resources/inside-flutter#tree-surgery) |
@ -1 +1,13 @@ |
||||
# Flutter internals |
||||
# Flutter Internals |
||||
|
||||
The internal workings of Flutter refer to the underlying mechanisms and architecture that make up the Flutter framework. |
||||
|
||||
At a high level, Flutter is a reactive framework for building user interfaces, which means that it allows developers to build dynamic, responsive apps that update automatically in response to changes in the state of the app. |
||||
|
||||
Flutter achieves this by using a unique rendering engine that is based on the Skia graphics library. The rendering engine allows Flutter to render complex animations and graphics with high performance, and it also provides a way for Flutter to manage the layout and size of widgets in the app. |
||||
|
||||
Visit the following links: |
||||
|
||||
- [Flutter - Internals](https://www.didierboelens.com/2019/09/flutter-internals/) |
||||
- [Overview of Flutter Internals](https://flutter.megathink.com/) |
||||
- [Flutter and Dart | Widget & Flutter Internals](https://www.youtube.com/watch?v=FBXMvOmiOLE) |
Loading…
Reference in new issue