摘要:
flutter 实现http 心跳,则必须开始一个定时任务 首先,引入 dart:async 包 import 'dart:async'; 然后在合适的Class 里面的build方法里定义一个Timer对象,将定义任务 Timer _timer; _timer = Timer.periodic(D 阅读全文
摘要:
flutter 运行windows项目时报错 Exception: Bad UTF-8 encoding (U+FFFD; REPLACEMENT CHARACTER) found while decoding string:等一堆错误,然后一串乱码, 解决方法是打开这个链接https://gith 阅读全文