some polishings

This commit is contained in:
Sewmina
2022-03-18 01:31:38 +05:30
parent 68c9d1a280
commit 1467b9bd40
3 changed files with 40 additions and 40 deletions

View File

@@ -424,24 +424,22 @@ class _ActivitiesState extends State<Activities> {
padding: EdgeInsets.all(15),
child: Column(
children: [
Row(mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [
Row(mainAxisSize: MainAxisSize.max,children: [
Text(name + " [$timeSpan]", style: TextStyle(fontSize: 17)),
if (containsMetadata)
Icon(
Icons.arrow_forward_outlined,
size: 20,
),
if (containsMetadata)
SizedBox(
width: 150,
child: Text(
activity.metadata ?? '',
),
),
Row(mainAxisSize: MainAxisSize.max, mainAxisAlignment: MainAxisAlignment.start, children: [
Text(name + " [$timeSpan]", style: TextStyle(fontSize: 17)),
if (containsMetadata)Row(mainAxisAlignment:MainAxisAlignment.start,mainAxisSize: MainAxisSize.max,children: [
]),
Icon(
Icons.arrow_forward_outlined,
size: 20,
),
SizedBox(
width: MediaQuery.of(context).size.width/3,
child: Text(
activity.metadata ?? '',
),
),
]),
// Icon(Icons.analytics, color: color, size: 20,),
]),
SizedBox(