withDivider method

BoxDecoration withDivider([
  1. BoxDecoration? decoration
])

Implementation

BoxDecoration withDivider([BoxDecoration? decoration]) {
  decoration ??= const BoxDecoration();
  return decoration.copyWith(border: dividerBorder());
}