WidgetbookComponent constructor
WidgetbookComponent({
- required String name,
- required List<
WidgetbookUseCase> useCases, - bool isInitiallyExpanded = true,
- String? fileType,
Implementation
WidgetbookComponent({
required super.name,
required this.useCases,
super.isInitiallyExpanded,
super.fileType, // Changed to String for icon representation
}) : super(
children: useCases, // Pass fileType as a String
);