// flight set variable
// note: value should be in "1"
widget.flight=='1'?Text(
// Text(
"Flight",
textAlign: TextAlign.left,
style: TextStyle(
color: Colors.black, fontSize: 15),
):Text(
"",
textAlign: TextAlign.left,
style: TextStyle(
color: Colors.black, fontSize: 15),
),
Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!
We spend hours scrolling social media and waste money on things we forget, but won’t spend 30 minutes a day earning certifications that can change our lives.
Master in DevOps, SRE, DevSecOps & MLOps by DevOps School!
Learn from Guru Rajesh Kumar and double your salary in just one year.
[…] And if want to know to ternary operator in flutter.If you want more clarity output please click here. […]