Andrea Bizzotto πŸ‡ΊπŸ‡¦ @codewithandrea.com Β· May 21

Did you know? Dart 3.8 introduces a new formatting option to preserve trailing commas. Enable this to override the default formatter behaviour (introduced in Dart 3.7), which is to remove trailing commas when parameter lists fit within the max page width.

4 likes 2 replies

?

Replies

Karl πŸ’™πŸ’›πŸŒ»πŸ‰β€οΈ Β· May 25

Thank you so much. I did update to 3.7 because of the forced formatting by the team. Great that 3.8 gives everyone control over their code formatting.πŸ˜€

Andrea Bizzotto πŸ‡ΊπŸ‡¦ Β· May 21

Some other formatter configuration options are available. For all the details, read this (updated) article: codewithandrea.com/articles/upd...