resolve method

TableStyle resolve(
  1. ColorScheme scheme
)

This style with every remaining default filled in.

Implementation

TableStyle resolve(ColorScheme scheme) {
  return TableStyle(
    borderColor: borderColor ?? scheme.onSurface,
    borderWidth: borderWidth ?? 1,
    borderRadius: borderRadius,
    cellPadding:
        cellPadding ?? const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
    headerBackground: headerBackground ?? scheme.surfaceContainerHighest,
    headerTextStyle: headerTextStyle,
    rowStripeColor: rowStripeColor,
  );
}