You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are now three spaces instead of the usual two in front of the :, disrupting the alignment of the rest of the initializer list. This only seems to happen if:
There are multiple elements to the initializer list. If there's only one, there will be only a single space before the :.
The last construction parameter is required.
The construction parameters have a trailing comma.
What the initializer list members are doesn't seem to matter; they can be asserts, actual initializers, or calls to super().
I can reproduce this with DartPad (which as of writing, is based on Flutter 2.0.3 Dart SDK 2.12.2).
The text was updated successfully, but these errors were encountered:
To reproduce, run
dart format
on:The result is:
There are now three spaces instead of the usual two in front of the
:
, disrupting the alignment of the rest of the initializer list. This only seems to happen if::
.required
.What the initializer list members are doesn't seem to matter; they can be
assert
s, actual initializers, or calls tosuper()
.I can reproduce this with DartPad (which as of writing, is based on Flutter 2.0.3 Dart SDK 2.12.2).
The text was updated successfully, but these errors were encountered: