wq
wq
作者大概率跑路了。。。
选择UIOPTIONS的NAME,改成微软的雅黑的字体,就没问题了
@GuoZhaoHui628 老铁没太明白你的意思。可能我没表述明白。我的意思是,我们已经建立了很多values文件夹了,适配了大部分的屏幕。但是一旦出现没有匹配到的分辨率,系统会从默认的values里读取。那么这个默认的vluaes里的值,应该是靠近720p/1080p的,(现在没有太次的手机了),那么我就想把720p当成默认,把720p文件夹直接copy进默认就行了。但是这样的话默认valus单位是px,不是dp
@WFCN 懂了,老铁,非常感谢!既然都能匹配最接近的values文件夹,那其实出现了特殊的分辨率问题也不大,现在手机都挺统一了,不会出现什么跳跃性的分辨率,是么
高版本 已经有 const bool kReleaseMode = bool.fromEnvironment('dart.vm.product');直接调用这个属性即可。同理还有kDebugMode。
if i add set(CMAKE_CXX_COMPILER /usr/bin/clang) to CMakeLists.txt,The following error will occur during compilation(also use flutter-elinux build elinux --target-backend-type=x11 --target-arch=arm64): Failed to cmake build: Scanning dependencies of target flutter_assemble [ 0%]...
> Please try `--system-include-directories` option. > > e.g. `--system-include-directories=/usr/aarch64-linux-gnu/include/c++/${version}/aarch64-linux-gnu` thank you for your reply. Here is some specific information: 1. In elinux/CmakeLists.txt I added set(CMAKE_CXX_COMPILER /usr/bin/clang). 2. Execute in the...
> > In elinux/CmakeLists.txt I added set(CMAKE_CXX_COMPILER /usr/bin/clang). > > This shouldn't be necessary. > > Unfortunately, I have no suggestions, and it's generally challenging to resolve cross-building issues on...
I found the json file under ~/.local/share/app_name. The content inside is always {"count": 1}, which is not affected by clicks.
My guess is that it cannot be read, and the result of each read is null. So the result of counter = (values['counter'] as int? ?? 0) + 1 is...