hasBottomLine method

bool hasBottomLine({
  1. required bool isLast,
})

Implementation

bool hasBottomLine({required bool isLast}) {
  switch (this) {
    case ItemSectionStyle.List:
      return true;
    case ItemSectionStyle.Between:
      return !isLast;
    case ItemSectionStyle.None:
      return false;
  }
}