cardBuilder property
Function that builds each card in the stack.
The int parameter specifies the index of the card to build, and the BuildContext
parameter provides the build context. The function should return a widget that represents
the card at the given index. It can return null
, which will result in an
empty card being displayed.
Implementation
final NullableIndexedWidgetBuilder cardBuilder;