diff --git a/example/format.dart b/example/format.dart index ec1cea23..caaa5d1d 100644 --- a/example/format.dart +++ b/example/format.dart @@ -40,8 +40,8 @@ void _runFormatter(String source, int pageWidth, try { var formatter = DartFormatter( languageVersion: tall - ? DartFormatter.latestShortStyleLanguageVersion - : DartFormatter.latestLanguageVersion, + ? DartFormatter.latestLanguageVersion + : DartFormatter.latestShortStyleLanguageVersion, pageWidth: pageWidth); String result;