I updated the Dart SDK installed on my computer to the version
sdk: '>=2.0.0-dev.65.0 <2.0.0'. When I launch webdev serve, I receive this error message:
Crash when formatting: [AsciiControlCharacter] The control character U+001A can only be used in strings and comments. RangeError (index): Invalid value: Not in range 0..271155, inclusive: 272138 #0 _StringBase. [...]
Is it happening to you too? How can I solve?
pub global activate webdev and try again.
Answered By – Patrice Chalin
Answer Checked By – Mildred Charles (FlutterFixes Admin)