logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

WebStorm 中 prettier标签尾部>被换行

我是新手 项目中 建立 这个文件VS Code Prettier + ESlint 格式化Vue代码及遇到问题 - 知乎文件内容为{"printWidth": 200,// 最大打印宽度,超出将换行"singleQuote": false, // 默认单引号 ,false 默认使用双引号"bracketSpacing": true,"jsxBracketSameLine": true,"htmlW

#html#html5#css
flutter使用 dialog 中包含输入框 ,输入后 键盘重置数据问题

解决方法正常使用StatefulWidgetdan返回组件 还是 dialog ,后续j可以 展示dialogclass ConsultBrandDialog extends StatefulWidget {final Function(String validCode) submitButtonCallback;//自定义咨询提示语final String contentValue;//是否需要

flutter 自定义第三方插件 使用后混淆问题

我遇到的问题是 ,定义了一个打印机的插件 ,传数据 过来,使用gson 解析后 发现 定义的接受的bean对象 本混淆 无法解析解决方式 在你的定义的插件里面build.gradle配置如下 增加独立的混淆配置buildTypes {release {consumerProguardFiles "proguard-rules.pro"}}...

prettier 格式化无效问题

我使用的是webstorm 需要在每个新建的项目中 加一个文件.prettierrc.json (文件名称 和内容如下前面还有一个点){"printWidth": 200,"singleQuote": false,"bracketSpacing": true,"jsxBracketSameLine": true,"htmlWhitespaceSensitivity": "ignore"}...

#html#html5#css
Get 使用 You cannot add event to closed Stream

You cannot add event to closed Stream或问题[Get] the improper use of a GetX has been detected.You should only use GetX or Obx for the specific widget that will be updated.If you are seeing this error, yo

flutter RenderConstrainedBox object was given an infinite size during layout.

问题原因 sliapp 加上的 动态设置高度 问题 去掉 就行了SliverToBoxAdapter(child: SizedBox(height: _getSliverToBox().toDouble()),),

Flutter下 混合开发 debug可以正常使用 release 无法使用

1插件 Plugin 可能用到 gson gson 在release 下 会解析为null解决方法 手动原始解析

Flutter与Android混合开发

1.最先看的,大神写的很好,简单易懂,https://kevinwu.cn/p/964c6c3/#%E6%96%B0%E5%BB%BAFlutter-Module2.后来查的资料,大哥写的也很好,里面提到了几个坑,https://blog.csdn.net/Android_SE/article/details/92654464个人记录Android项目 和fluttermodu...

flutter 动态改变距离 例如listtitle

主要是 以下控件//动态修改 lead和title的距离transform: Matrix4.translationValues(-17.w, 0.0, 0.0),

flutter 获取何时使用 GetX<Controller>、GetBuilder<Controller> 或 Obx()

Obxwhen my controller isalready registeredelsewhere and I wantminimal code/noisea reactive widgetGetXwhen my controllerisn'tyet registered orI want to be very explicit/obvious which controller is bein

#flutter#html#html5
    共 85 条
  • 1
  • 2
  • 3
  • 9
  • 请选择