-1
Hello!
I’d like to do the following :
A list that shows people online, with their name down. Only I managed to do the following:
I would like to put a name underneath the image of the person. I couldn’t find out how to do it, and I tried to put a child: Text()
into the container, but it didn’t work.
My code is like this:
Widget _listOnline() {
return ListView(
scrollDirection: Axis.horizontal,
children: [
Container(
padding: EdgeInsets.only(left: 35),
width: 80,
height: 80,
decoration: BoxDecoration(
shape: BoxShape.circle,
image: DecorationImage(
image: AssetImage("images/Rubio_Circle.png"),
),
),
),
],
);
}
Thank you so much for the tips, I did as you said, I created another widget and passed as parameters, easier to call too, thanks
– Jeff Henrique
I posted one more question that maybe you can help me, if you can clear
– Jeff Henrique