isGlobalStyle property

bool get isGlobalStyle

Represents the global style.

Implementation

bool get isGlobalStyle {
  bool isGlobalStyleStyle = false;
  bool first = true;

  final int last = _arrRanges.length;
  for (int index = 0; index < last; index++) {
    final Range range = _arrRanges[index];

    if (first) {
      isGlobalStyleStyle = (range.cellStyle as CellStyle).isGlobalStyle;
      first = false;
    } else if ((range.cellStyle as CellStyle).isGlobalStyle !=
        isGlobalStyleStyle) {
      return false;
    }
  }
  return isGlobalStyleStyle;
}
set isGlobalStyle (bool value)

Implementation

set isGlobalStyle(bool value) {
  final int last = _arrRanges.length;
  for (int index = 0; index < last; index++) {
    final Range range = _arrRanges[index];
    (range.cellStyle as CellStyle).isGlobalStyle = value;
  }
}