Component - Widget tree concept
The widget tree is how Flutter organizes all the parts of the app's user interface. Each widget is like a building block, and they connect in a tree structure to create the full screen layout.
The widget tree is how Flutter organizes all the parts of the app's user interface. Each widget is like a building block, and they connect in a tree structure to create the full screen layout.
Scaffold
├── AppBar
│ └── Text
└── Body
└── Column
├── Text
└── ElevatedButtonColumn(
children: [
Text('A'),
Row(
children: [
Text('B'),
Text('C')
]
),
Text('D')
]
)Column(
children: [
Text('Hello'),
Icon(Icons.star),
Text('World')
]
mainAxisAlignment: MainAxisAlignment.center,
)Pass the test and this pattern moves unknown