VIN*_*ODH 3 base64 state-management image-conversion flutter flutter-getx
我试图在 Getx 控制器中将图像转换为 Base64 文本,但显示错误“无法将‘String’类型的值分配给‘RxString’类型的变量”。
小智 9
final RxString rxstring = 'Hello'.obs;
rxstring.value = 'Hi'; // <-- this can change the value of the Rx variable and also trigger its listeners
Run Code Online (Sandbox Code Playgroud)