Skip to main content
Type Alias Builder signature for a single NFT card rendered inside CrossmintNftCollectionView. Receives the build context, the NFT record, the index inside the CrossmintNftCollectionView.nfts list, and an onTap callback that forwards to CrossmintNftCollectionView.onNftTap when supplied. Consumers can use the callback to wire their own card widget up to the collection view’s tap handling without having to re-implement the list iteration.
typedef CrossmintNftItemBuilder = Widget Function( BuildContext context, CrossmintNftRecord nft, int index, { VoidCallback? onTap, })