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
Unfortunately, slang is a regular dependency and not a dev dependency. This will also not change in the near future because Translation Overrides reuses most logic from the generator.
A trade-off would be to add this to slang_build_runner but this will make the generated code of dart run slang and dart run build_runner build different / inconsistent.
The code generated by slang currently shows differences when formatted with
dart format .
.I want it to auto-format like in packages using source_gen, like freezed. They use DartFormatter from the dart_style package. Using DartFormatter the same way should work.
https://pub.dev/packages/dart_style#using-the-dart_style-api
Similar to Issue #163
The text was updated successfully, but these errors were encountered: