formatSource method
Formats a library with the selected output width.
Implementation
String formatSource(String source, GenerationConfig config) => DartFormatter(
languageVersion: Version(3, 13, 0),
pageWidth: config.pageWidth,
).format(source);
Formats a library with the selected output width.
String formatSource(String source, GenerationConfig config) => DartFormatter(
languageVersion: Version(3, 13, 0),
pageWidth: config.pageWidth,
).format(source);