rrousselGit / functional_widget

A code generator to write widgets as function without loosing the benefits of classes.
596 stars 46 forks source link

Enable analyzer versions up to (not including) 0.41.0 #79

Closed edman closed 3 years ago

edman commented 3 years ago

There is an analyzer bug fixed on 0.40.2 where watched files are refreshed more often than they should during code gen, leading to deadlocks. See https://github.com/dart-lang/sdk/issues/43073 for more context.

This PR enables affected projects using functional_widget to update to versions of the analyzer where the bug has been fixed.

Based on https://pub.dev/packages/analyzer/changelog there are no breaking changes in between ">=0.39.8 <0.41.0".

I also ran pub run test under functional_widget and flutter pub run build_runner watch under functional_widget/example. Let me know if there's other ways I should be testing this.

rrousselGit commented 3 years ago

Sorry for the delay

I'll close this as this was done in a separate PR