Answers for "condition in child flutter"

1

if then else inside child in flutter

Container(
  color: Colors.white,
  child: ('condition')
  ? Widget1(...)
  : Widget2(...)
)
Posted by: Guest on November-28-2020

Code answers related to "condition in child flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language