getDefaultBorder static method
Computes the default TableBorder based on isAlternatingRowColors.
If alternating, no border (relies on row colors); otherwise, horizontal lines for clear row separation. Uses getDefaultBorderSide for consistency.
Implementation
static TableBorder getDefaultBorder(
BuildContext context, bool isAlternatingRowColors) =>
isAlternatingRowColors
? const TableBorder()
: TableBorder(
bottom: getDefaultBorderSide(context),
horizontalInside: getDefaultBorderSide(context),
);