kondisionalstatement in widget flutter
Container(
color: Colors.white,
child: ('condition')
? Widget1(...)
: Widget2(...)
)
Arrogant Armadillo
Container(
color: Colors.white,
child: ('condition')
? Widget1(...)
: Widget2(...)
)
condition? Text("True"): null,