updateUI method

void updateUI({
  1. bool animator = false,
})

Implementation

void updateUI({bool animator = false}) {
  //如果当前正在绘制则丢弃
  if (_drawing || _layoutFlag) {
    debugPrint('阻挡绘制 $_drawing  $_layoutFlag');
    return;
  }
  notifyListeners();
}