ToolTemplateCardCarouselView constructor

ToolTemplateCardCarouselView({
  1. required CoreTool parentTool,
  2. required VoidCallback onFinish,
  3. 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();