Open
Description
What input code did you provide to the formatter?
Column(
children: [
for (final CommentEntity(:comment, :timestamp, :authorName) in value.comments) ...[
CircleAvatar(
backgroundImage: MemoryImage(value.avatar),
),
Text(authorName),
Timeago(
date: timestamp,
builder: (context, value) => Text(value),
),
Text(comment),
],
],
),
What output did the formatter produce?
Column(
children: [
for (final CommentEntity(
:comment,
:timestamp,
:authorName,
)
in value.comments) ...[
CircleAvatar(
backgroundImage: MemoryImage(value.avatar),
),
Text(authorName),
Timeago(
date: timestamp,
builder: (context, value) => Text(value),
),
Text(comment),
],
],
),
What output did you expect or want the formatter to produce?
I honestly don't know, but this is hard to read.
Maybe this?
Column(
children: [
for (
final CommentEntity(
:comment,
:timestamp,
:authorName,
) in value.comments
) ...[
CircleAvatar(
backgroundImage: MemoryImage(value.avatar),
),
Text(authorName),
Timeago(
date: timestamp,
builder: (context, value) => Text(value),
),
Text(comment),
],
],
),
Anything else we should know?
Thanks!
^ You're welcome!
Uhh, this is inside of a deeply nested Flutter structure, that's why it's linebreaking so soon.