Comments (2)
原因是FairCompiler中引入的高版本的analyzer解析失败,可以通过固定analyzer版本解决,在目标工程yaml文件添加如下配置:
dependency_overrides:
analyzer: 5.6.0
dart_style: 2.2.5
from fair.
在楼主的问题上,我降低了analyzer和dart_style的版本,这样可以生成js,但是为什么里面的方法不调用呢,还是调用了没有效果,我使用的flutter 3.7.0
@OverRide
void initState() {
setTestInfo();
super.initState()
}
setTestInfo(){
setState(() {
_sum=80;
});
}
另外想加一下fair微信交流群,一直也没通过
from fair.
Related Issues (20)
- 如果需要下发的动态页面,包含多自定义widget(也需要动态下发),这种情况一般怎么处理,有什么最佳实践吗 HOT 4
- 58同城App有用到Flutter或者Fair库吗? HOT 1
- 生成Js文件本地可以加载,放到服务器后无法加载 HOT 10
- 执行 flutter pub run build_runner build 后,未生成.js文件 HOT 1
- 在Sugar里的表达式,不支持逻辑运算符 ! & |吗? HOT 2
- 热更新需要重启吗 HOT 8
- FairJSBridge是不是有多线程的问题
- 关于 #344 次改动的问题反馈 HOT 2
- Delegate传参问题 HOT 1
- Google Play 合规性问题 HOT 2
- 在iPhone 8 version13.4上 多次刷新偶现页面取值异常 HOT 1
- iOS AppStore合规问题
- 技术交流群有没有可用的,目前无法加入。二维码过期 HOT 2
- 58小助手添加不成功,希望加群了解一下 fair HOT 6
- [Fair] 警告: 不识别的语法节点类型 BinaryExpressionImpl package:musashinobank_flutter/page/home/home_page.dart:163:30: index > 0
- 请问大家用什么状态管理框架
- @FairBinding失效,命令无法生成AppGeneratedModule文件
- Fair已经申请专利,那么使用Fair库会有侵权风险吗? HOT 2
- Fair还正常维护吗?
- FairFunction
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fair.