Skip to content

Releases: dart-lang/dart_style

package:dart_style v2.3.6

29 Feb 19:00
c644037
Compare
Choose a tag to compare
  • Fix compile error when using dart_style with analyzer 6.2.0.

package:dart_style v2.3.5

29 Feb 00:51
13a3a51
Compare
Choose a tag to compare
  • Ensure switch expressions containing line comments split (#1404).
  • Use language version 3.3 to parse so that code with extension types can be
    formatted.
  • Support formatting the macro modifier when the macros experiment flag
    is passed.

package:dart_style v2.3.4

21 Nov 19:25
8df008e
Compare
Choose a tag to compare
  • Add tall-style experiment flag to enable the in-progress unstable new
    formatting style (#1253).
  • Format extension types.
  • Normalize ignored whitespace and "escaped whitespace" on first line
    of multiline string literals. (#1235)

package:dart_style v2.3.2

29 Jun 16:27
3ddfba5
Compare
Choose a tag to compare
  • Don't indent parameters that have metadata annotations. Instead, align them
    with the metadata and other parameters.
  • Allow metadata annotations on parameters to split independently of annotations
    on other parameters (#1212).
  • Don't split before . following a record literal (#1213).
  • Don't force split on a line comment before a switch expression case (#1215).
  • Require package:analyzer >=5.12.0 <7.0.0.
  • Preserve ? on nullable empty record types (#1224).