singleAspectRatioSize property

Size? get singleAspectRatioSize

Implementation

Size? get singleAspectRatioSize => _singleAspectRatioSize;
set singleAspectRatioSize (Size? size)

更改模式不引起重新布局 更改屏幕比例导致 重新测量 gKeyMappedValues.clear();

Implementation

// set mode(RUNMODE mode){
//   _mode = mode;
//   notifyListeners();
// }

/// 更改屏幕比例导致
/// 重新测量 gKeyMappedValues.clear();
set singleAspectRatioSize(Size? size){
  _singleAspectRatioSize = size;
  _fullscreenAspectRatioSize = size != null && TailColumnExpand.none == tailColumnExpand ? Size(size.width * column, size.height * row) : null;
  debug?.gKeyMappedValues.clear();
  resetPattern();
}