Flutter conditionally display a widget in a column/row
Conditionally displays a widget within the children in a Column.
Column(
children: [
if (isGreen) ...[
GreenScreen(),
] else ...[
RedScreen(),
],
],
),
Search within Codexpedia
Custom Search
Search the entire web
Custom Search
Related Posts