ToolTemplateCardCarouselView constructor
ToolTemplateCardCarouselView({
- required CoreTool parentTool,
- required VoidCallback onFinish,
- List<
ToolCardTemplate> ? customCards,
Implementation
ToolTemplateCardCarouselView({
required this.parentTool,
required this.onFinish,
this.customCards,
}) : assert(
parentTool.toolCards!.isNotEmpty == true ||
customCards?.isNotEmpty == true,
'ToolTemplateCardCarouselView requires the parent CoreTool to have tool cards in the navigation container, or to pass cards through the constructor.'),
super();