HXiaoMing
HXiaoMing
the entity is: @Entity(tableName: 'Task') class Task { final Uint8List ext; Task(this.ext); } the dao is : @dao abstract class TaskDao { @Query('update Task set ext = :ext') Future updateTaskExt(Uint8List...
i use encodeGifAnimation, but generate gif with black backgroundColor ``` import 'dart:io'; import 'dart:typed_data'; import 'package:flutter/foundation.dart'; import 'package:flutter/services.dart'; import 'package:image/image.dart'; import 'package:path_provider/path_provider.dart'; class ImageProcessUtil { ImageProcessUtil._(); static const _tag =...
### Is there an existing issue for this? - [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues) - [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports) ### Steps to...
在Android手机上,运行flutter_boost-3.0-beta.6 demo 第一次点击 open_custom_view_tab 顶部状态栏的文字是黑色(WiFi,电量那些信息)。 第二次点击 open_custom_view_tab 顶部状态栏的文字自动变成白色。 结果 必现。 如果将AppBar的brightness赋值成Brightness.light,然后打开该页面两次就会出现上述情况。顶部状态栏会变色。
### 使用的 Kraken 版本 | What version of kraken are you using webf: 0.16.0-beta.1 Flutter version 3.13.6 ### 重现步骤 | Steps To Reproduce 1.clone https://github.com/openwebf/webf.git项目 2.直接运行webf example **重现代码 | Code...
``` /// /// 日志 /// [Conditional("DEBUG")] public static void Log(string info) { if (Logger != null) { Logger.Log(info); } else { UnityEngine.Debug.Log(info); } } ``` [Conditional("DEBUG")] 限制了Log日志的输出(debug才能输出),在打包之后(非debug),无法收集到Log的日志,Log的日志可不可以用外部控制?
昨天升级到1.4.7,打了新的资源包,然后部署到cdn。 旧应用YooAsset的版本是1.4.6-preview,旧应用更新到 新版的资源(YooAsset1.4.7打出来的资源),然后在加载AssetBundle时候就报错了(旧版的YooAsset1.4.6-preview,无法加载新版本YooAsset1.4.7打出来的资源包的吗?YooAsset1.4.7可以加载旧版YooAsset1.4.6-preview的打包资源吗?每次升级YooAsset,会不会导致旧版用不了?) The AssetBundle '__data.bundle' could not be loaded because it references scripts that are not compatible with the currently loaded ones. Rebuild the AssetBundle to fix this error....
在联机运行模式下,YooAsset已经初始化了,一段时间后,服务器有一个新的DefaultHostServer,如何将新的DefaultHostServer更新到YooAsset? 原本想着调用YooAsset.AssetsPackage.InitializeAsync 更新DefaultHostServer,但是会报错(AssetsPackage is initialized yet) System.Exception: AssetsPackage is initialized yet. at YooAsset.AssetsPackage.CheckInitializeParameters (YooAsset.InitializeParameters parameters) [0x00000] in :0 at YooAsset.AssetsPackage.InitializeAsync (YooAsset.InitializeParameters parameters) [0x00000] in :0 请问这种情况要怎么处理?
Extension is frequently used, but extension it is not support. It it possible to write a Wrapper for extension? ``` extension StringExt on String { int toNumber() { return int.parse(this);...
test case: ``` import 'package:dart_eval/dart_eval.dart'; import 'package:test/test.dart'; void main() { group('tests', () { late Compiler compiler; setUp(() { compiler = Compiler(); }); test('simple test', () { final program = compiler.compile({...