Optional trailing widget shown at the bottom (e.g., item count).
final Widget Function(int filteredCount, int totalCount)? trailing;