xdd666t / getx_template

Used to generate the template code of GetX framework | Flutter GetX模板代码生成(一个有用的IDEA插件)
Apache License 2.0
295 stars 67 forks source link

使用GetBuilder 模版有问题 #33

Closed antbu closed 1 month ago

antbu commented 2 years ago

demo

demo1

xdd666t commented 2 years ago

image

antbu commented 2 years ago

好吧。其实格式化问题影响不大,只是强迫症有点难受。刷新api感觉应该是新版idea改了影响了,我这儿是下载的最新版100%复现,重新获取焦点或者刷新磁盘都可以。我再研究下,感觉那个模版应该和自带的Wrap with Builder是差不多的

xdd666t commented 2 years ago

这个我在写的时候就发现了,我特地翻了flutter插件的格式化,他是内部直接引用的dart 的jar,使用dart jar中的格式化方法;然后我也直接引用dart jar调用他的格式化方法,但是安装之后和flutter自带的dart版本显示冲突

这玩意暂时不知道怎么搞,后面如果知道了,会改掉的