cardBuilder property

CardBuilder cardBuilder
final

A function that builds the content for each card.

This function is called for each card index and should return a list of exactly 5 widgets:

  • Index 0: Title widget (displayed at the top of the card)
  • Index 1: Left title widget (label for the left value)
  • Index 2: Right title widget (label for the right value)
  • Index 3: Left value widget (content below left title)
  • Index 4: Right value widget (content below right title)

Implementation

final CardBuilder cardBuilder;