BordersCollectionWrapper constructor

BordersCollectionWrapper(
  1. List<Range> arrRanges,
  2. Workbook book
)

Creates an new instances of borders.

Implementation

BordersCollectionWrapper(List<Range> arrRanges, Workbook book) {
  _arrRanges = arrRanges;
  _workbook = book;
  _bordersCollection = <Borders>[];
  for (final Range range in _arrRanges) {
    _bordersCollection.add(range.cellStyle.borders);
  }
}