effectiveAddons property

  1. @internal
List<WidgetbookAddon>? get effectiveAddons

Same as addons but without the ones that have no fields.

Implementation

@internal
List<WidgetbookAddon>? get effectiveAddons {
  return addons?.where((addon) => addon.fields.isNotEmpty).toList();
}