WidgetbookUseCase constructor
WidgetbookUseCase({
- required String name,
- required WidgetBuilder builder,
- String? designLink,
- String? fileType,
Implementation
WidgetbookUseCase({
required super.name,
required this.builder,
this.designLink,
super.fileType, // Changed to String for icon representation
}) : super(
children: null,
isInitiallyExpanded: false, // Pass fileType as a String
);