I have 2 container and I wanna insert some text in every container (text1 and text2 in my code), can someone help me to solve this case?
body: Column(
children: <Widget>[
Container(
color: Colors.red,
width: double.infinity,
height: 30,
text1
text2
),
Container(
color: Colors.yellow,
width: double.infinity,
height: 30,
text1
text2
)
],
)
text1andtext2? are theyTextwidgets? or strings?