functional_widget icon indicating copy to clipboard operation
functional_widget copied to clipboard

Update generated code formatting to dart 3

Open qwezey opened this issue 8 months ago • 1 comments

Changing Version(2, 12, 0) to DartFormatter.latestLanguageVersion causes tests to fail: test.log

https://github.com/rrousselGit/functional_widget/blob/6e676977e53258f3aa5604927df3abde31939089/packages/code_gen_tester/lib/src/tester.dart#L68

It seems the generator needs to be updated for the new formatting.

qwezey avatar Mar 24 '25 12:03 qwezey

More importantly, all tests need to be rewritten to not rely on what the generated code. Cf Freezed/Riverpod's tests.

That's one of the main reason I haven't worked much on this project. I can't be bothered updating the tests 🙈

rrousselGit avatar Mar 24 '25 13:03 rrousselGit