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.
Some other formatter configuration options are available.
For all the details, read this updated article:
Happy coding!