跳转到主要内容

crayonxiaoxin

[flutter/ios] type ‘StackParentData’ is not a subtype of type ‘FlexParentData’ in type cast

原因是:在 Stack 组件中使用了类似 Expanded、Flexib…

Flutter

[flutter] Using `dart run flutter_launcher_icons` destroys ios-project

提示错误: The project ‘Runner’ is damage…

Flutter

[flutter] ios unable to load contents of file list /.xcfilelist not found

运行 flutter build ios 即可生成

Flutter

Flutter Dialog Context 注意事项

在这个例子中,显示调用 AlertDialog,假设按了确定,则弹出一个…

Flutter

Flutter 字体大小不跟随系统变化

可在 MaterialApp builder 中通过 MediaQuer…

Flutter

判断颜色深浅的方法

YUV,是一种颜色编码方法。其中 Y 表示的是明亮度,以下是 Y 的计算…

Flutter

Flutter double 精度不准的问题

在使用 CircularProgressIndicator() 的时候,…

Flutter

升级 Flutter 3.+ 出现 UnicodeChar、AsciiChar not found

一个旧的 flutter2.+ 项目,安装了最新的 flutter3.3…

Flutter

[开源] Flutter 自定义SnackBar(lx_tips)

项目描述 使用自带的 animation api,基于 Overlay …

Flutter

Flutter 粗心导致“Invalid constant value”错误

当我们添加一个新组件的时候,Android Studio 会很贴心地提示…

Flutter