setFontSize method
Implementation
void setFontSize(double fontSize) {
// TODO 有错,不用怀疑,就是有错
theme!.fontSize = fontSize;
final Size size = window.physicalSize;
final double screenWidth = size.width / window.devicePixelRatio;
final double screenHeight = size.height / window.devicePixelRatio;
// 行数
setWindowSize(Size(screenWidth, screenHeight));
needBuild();
notifyListeners();
}