offset method

dynamic offset()

Implementation

offset() {
  var count = 0;
  if (header != null) {
    count++;
  }
  if (footer != null) {
    count++;
  }
  return count;
}