I’m creating my own chat on flutter and I need the time of the last message to be in the upper right corner from the person who wrote photo! But I do not know how to do it, I will be grateful if you help!
child: Column(
children: [
Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
ClipRRect(
borderRadius: BorderRadius.circular(60),
child: Image.asset("images/churka.jpg", height: 60,
width: 60,
fit: BoxFit.cover,)),
SizedBox(width: 10.0,),
Column(
// mainAxisAlignment: MainAxisAlignment.spaceAround,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
SizedBox(height: 10,),
Row(
children: [
Text('Человек', style: TextStyle(fontSize: 18,
fontWeight: FontWeight.w500),),
],
),
Text('Как дела',
style: TextStyle(color: Color.fromRGBO(
87, 87, 87, 1.0),
fontSize: 16,
fontWeight: FontWeight.w400),),
],
),
Text('11:11', style: TextStyle(color: Color.fromRGBO(
87, 87, 87, 1.0),
fontSize: 16,
fontWeight: FontWeight.w400),),
],
),
],
),
I tried to put mainAxisAlignment
in different ways, but then the position of the name and the last message changes