children property

List<Widget> children
final

The collection of widgets to render within the carousel.

This list is arranged horizontally in a scrollable Row, enabling users to swipe through content. While optimized for card-based UIs (e.g., BasicCard, CardSection), it accepts any Widget, providing flexibility for images, text, or custom components. An empty list renders an empty carousel; populate with 3+ items for effective scrolling.

Type: List

Implementation

final List<Widget> children;