Closed PavelPZ closed 4 years ago
It is caused by the following line:
element.type.isUndefined
is removed from analyzer 0.37.
I am looking for a workaround by overriding the dependencies.
I used a workaround as follow and it worked for me:
dependencies:
flutter_hooks: ^0.7.0
functional_widget_annotation: ^0.5.1
dev_dependencies:
functional_widget: ^0.7.1
build_runner: ^1.7.3
dependency_overrides:
analyzer: 0.36.4
source_gen: 0.9.4+2
The workaround isn't working for me. Can't seem to find an acceptable combination to get functional_widget
and flutter_hooks
to work on the flutter beta channel
FYI, this problem has escalated to stable
channel of Flutter (1.17)
I have another priority for the week
Then I'm full time on this + hooks issues
I'm looking into this tos see whether I can make a PR
ok, anyone want to try out my PR before @rrousselGit review my code, use this dependency declaration:
functional_widget:
git:
url: git://github.com/truongsinh/functional_widget.git
path: functional_widget
ref: upgrade
I am using functional_widget for a long time (on both dev and master flutter dev channels).
After upgrading flutter dev channel last week,
functional_widget-0.7.2
stops working (0.7.1 works well):