WidgetbookUseCase constructor

WidgetbookUseCase({
  1. required String name,
  2. required WidgetBuilder builder,
  3. String? designLink,
  4. 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
      );