PackageTrack
Sign in Get early access

widgetbook_generator

A package to automate setup and maintenance of the widgetbook package by using code generation.

3.24.0 322K downloads/mo #660 most downloaded on pub.dev widgetbook/widgetbook

What this package is like to depend on

Last release 2 months ago

08 Jun 2026

Release timing varies

gaps range from 1 weeks to 3 months

Nearly every release is documented

notes for 42 of 42 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

66 releases · first in 2021

11 releases in the last 12 months

see the full history below

Release timeline

66 releases · Oct 2021 to Jun 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 66
  1. 4.0.0-alpha.4 21 Nov 2025 pre-release

    Nothing published for this version

  2. 4.0.0-alpha.3 10 Oct 2025 pre-release

    Nothing published for this version

  3. 4.0.0-alpha.2 24 Jan 2024 pre-release

    Nothing published for this version

  4. 4.0.0-alpha.1 23 Dec 2023 pre-release

    Nothing published for this version

  5. 3.24.0 08 Jun 2026
    Release notes
    • REFACTOR: Allow analyzer 13.x.
    Open source →
  6. 3.23.0 06 May 2026
    Release notes
    • REFACTOR: Allow analyzer 11.x and 12.x. (#1900)
    Open source →
  7. 3.22.0 18 Feb 2026
    Release notes
    • BREAKING: Set minimum SDK version to 3.10.0. (#1803)
    Open source →
  8. 3.21.0 10 Feb 2026
    Release notes
    • BREAKING: Set minimum SDK version to 3.9.0. (#1803)
    • REFACTOR: Allow analyzer 10.x. (#1805)
    Open source →
  9. 3.20.1 25 Nov 2025
    Release notes
    • REFACTOR: Allow analyzer 9.x. (#1761)
    Open source →
  10. 3.20.0 07 Nov 2025
    Release notes
    • BREAKING: Set minimum SDK version to 3.8.0. (#1719)
    Open source →
  11. 3.19.0 28 Oct 2025
    Release notes
    • FEAT: Support @UseCase.exclude to exclude use-cases from the generated Widgetbook. (#1676 - by @EArminjon)
    Open source →
  12. 3.18.0 07 Oct 2025
    Release notes
    • BREAKING: Remove next builders. (#1634)
    Open source →
  13. 3.17.0 15 Sep 2025
    Release notes
    • BREAKING: Require analyzer >=8.0.0, build >=4.0.0 and source_gen >=4.0.0. (#1584)
    • REFACTOR: Generate WidgetbookComponent, instead of WidgetbookLeafComponent, for components with a single use-case. (#1573)
    Open source →
  14. 3.16.0 15 Aug 2025
    Release notes
    • REFACTOR: Allow analyzer 8.x. (#1566)
    • REFACTOR: Update source_gen to 3.1.0; to use TypeChecker.typeNamed instead of TypeChecker.fromRuntime. (#1564)
    Open source →
  15. 3.15.0 08 Aug 2025
    Release notes
    • BREAKING: Set minimum SDK version to 3.7.0. (#1541)
    • BREAKING: Support new element model API. Use analyzer >=7.4.0, build >=3.0.0 and source_gen >=3.0.0. (#1544)
    Open source →
  16. 3.14.0 01 Aug 2025
    Release notes
    • FEAT: Support @UseCase.cloudExclude option. Requires widgetbook_annotation >=3.6.0. (#1535)
    • REFACTOR: Change generated imports prefixes to use a deterministic format based on the path. (#1495 - by @mrgnhnt96)
    • CHORE: Update license. (#1529)
    Open source →
  17. 3.13.0 15 May 2025
    Release notes
    • BREAKING: Use ViewportData.name instead of ViewportData.id. Requires widgetbook >=3.14.0. (#1454)
    Open source →
  18. 3.12.0 17 Apr 2025
    Release notes
    • FEAT: Support Multi Snapshot for knobs. For more information, check our docs. (#1394)
    Open source →
  19. 3.11.0 31 Mar 2025
    Release notes
    Open source →
  20. 3.10.0 13 Feb 2025
    Release notes
    • BREAKING: Set minimum SDK version to 3.3.0. (#1349)
    • BREAKING: Remove components.book.dart formatting. If you are using the SAM architecture, upgrade to 4.0.0-alpha.2 or later versions, instead of using the experimental_components_builder. (#1366)
    • REFACTOR: Remove direct dependency on dart_style. (#1363)
    • REFACTOR: Allow analyzer 7.x. (#1351)
    • REFACTOR: Remove unused useCaseDefinitionPath and componentDefinitionPath from generated use-case metadata. (#1370)
    Open source →
  21. 3.9.1 13 Dec 2024
    Release notes
    • FIX: Escape path resolution if pubspec.lock is not found. This bug was affecting running the generator in Pub Workspaces. (#1327)
    • REFACTOR: Send an owner URL for telemetry. (#1324)
    Open source →
  22. 3.9.0 11 Sep 2024
    Release notes
    • BREAKING: Set minimum SDK version to 3.0.0. (#1243)
    • BREAKING: Drop analyzer 5.x support. (#1243)
    • FEAT: Support Multi Snapshot for addons. For more information, check our docs. (#1239)
    • REFACTOR: Remove widgetbook dependency. (#1242)
    Open source →
  23. 3.8.0 11 Jun 2024
    Release notes
    • FEAT: Add new builder option named nav_path_mode, that allows using the navigation path of the use-case instead of the component. For more info, check out the customization docs. (#1188)
    • REFACTOR: Send a unique project identifier for telemetry. (#1189)
    Open source →
  24. 3.7.0 15 Dec 2023
    Release notes
    • EXPERIMENTAL: Preserve nullability of generic/function parameters. (#1092)
    • EXPERIMENTAL: Allow key args. (#1094)
    • EXPERIMENTAL: Expose argsBuilder for non-custom stories. (#1095)
    Open source →
  25. 3.6.0 13 Dec 2023
    Release notes
    • EXPERIMENTAL: Use params' default values for StoryArgs.fixed constructor. (#1074)
    • EXPERIMENTAL: Support EnumArg. (#1073)
    • EXPERIMENTAL: Support BuilderArg. (#1079)
    • EXPERIMENTAL: Support positional Arg.value parameter. (#1077)
    • EXPERIMENTAL: Set Arg.name via init instead of constructor. (#1078)
    • EXPERIMENTAL: Support custom args via MetaWithArgs. (#1080)
    • EXPERIMENTAL: Support LeafComponent. (#1083)
    • EXPERIMENTAL: Support optional parameters arg-generation. (#1084)
    Open source →
  26. 3.5.0 06 Dec 2023
    Release notes
    • EXPERIMENTAL: Add setup to Story. (#1069)
    Open source →
  27. 3.4.0 06 Dec 2023
    Release notes
    Open source →
  28. 3.3.0 09 Nov 2023
    Release notes
    • BREAKING: Set minimum SDK version to 2.19.0. (#1030)
    • FEAT: Add designLink to WidgetbookUseCase. (#926 - by @Mastersam07)
    • FEAT: Support custom path for @UseCase. (#988 - by @geisterfurz007)
    • FEAT: Support WidgetbookLeafComponent navigation node for components with a single use-case. (#1015)
    Open source →
  29. 3.2.0 19 Sep 2023
    Release notes
    • FEAT: Add telemetry which collects and reports anonymous usage information that helps us improve our package. (#893)
    • FIX: Sort generated nodes. (#871)
    • FIX: Apply imports prefixing. (#872)
    • FIX: Throw error when use-cases names conflict. (#877)
    Open source →
  30. 3.1.0 18 Aug 2023
    Release notes
    • REFACTOR: Enforce widgetbook package minimum version (v3.2.0). (#842)
    • REFACTOR: Support analyzer v6.x. (#841)
    • FIX: Add type to directories list. (#836)
    • FIX: Resolve local packages paths. (#829)
    • FIX: Resolve "asset:" imports. (#819)
    • FIX: Remove unused imports. (#786)
    Open source →
  31. 3.0.0 27 Jun 2023
    Release notes

    Check out the migration guide for more information.

    Open source →
  32. 3.0.0-rc.2 16 Jun 2023 pre-release
    Release notes
    • BREAKING: Change generated extension from .g.dart to .directories.g.dart to avoid conflicting outputs with other generators. (#737)
    • BREAKING: Remove @App annotation's foldersExpanded and widgetsExpanded non-working parameters. (#735)
    • REFACTOR: Add meta comments to header. (#745)
    Open source →
  33. 3.0.0-rc.1 03 Jun 2023 pre-release
    Release notes
    • Check out the migration guide for more details.
    • FEAT: Add Dart 3 and Flutter 3.10 support. (#676)
    • BREAKING: Drop Flutter 2 support. (#676)
    • BREAKING: Remove code generation support for everything except @App and @UseCase that generate a list called directories. You should now configure Widgetbook's properties (i.e. addons, appBuilder, etc.) manually. (#663)
    • FIX: Remove <dynamic> from Generic Widgets names. (#700)
    • REFACTOR: Drop freezed dependency. (#666)
    Open source →
  34. 3.0.0-beta.11 12 Apr 2023 pre-release
    Release notes
    • REFACTOR: :recycle: removed package analysis_options files.
    • REFACTOR: :recycle: warnings.
    Open source →
  35. 3.0.0-beta.10 20 Feb 2023 pre-release
    Release notes
    • FIX: :bug: expects data that does not exist. (6396e411)
    Open source →
  36. 3.0.0-beta.9 16 Feb 2023 pre-release
    Release notes
    • REFACTOR: :recycle: warnings. (8bf0b124)
    • REFACTOR: :recycle: settings. (254ebef6)
    • REFACTOR: :recycle: adjust generator to AddOn implemementation. (a91edbbf)
    • REFACTOR: :recycle: rename settings to setting for AddOns. (c88b7327)
    • REFACTOR: :recycle: remove resolvers. (59565b2a)
    • REFACTOR: adjusted code to match linter. (04dd9f1e)
    • FIX: :bug: locales are not correctly generated. (dd2807d0)
    • FIX: imports of file not deterministic. (2ffb120d)
    • FIX: custom painter Widgets are incorrectly rendered. (965c355e)
    • FIX: recommited binary files to git. (70f38e8f)
    • FIX: added error when WidgetbookTheme is used on non-function code elements. (b7e65c24)
    • FEAT: :sparkles: add design link property. (7aa22dca)
    • FEAT: :sparkles: add CustomThemeAddon to generator. (ed199af2)
    • FEAT: :sparkles: add FrameAddon to generator. (c77fddeb)
    • FEAT: :sparkles: add LocalizationAddon to generator. (0df318ec)
    • FEAT: :sparkles: add TextScaleThemeAddon to generator. (563d6697)
    • FEAT: :sparkles: add MaterialThemeAddon to generator. (ba1b8f82)
    • FEAT: generator reads use-case definition. (84298485)
    Open source →
  37. 3.0.0-beta.8 06 Feb 2023 pre-release
    Release notes
    • REFACTOR: :recycle: warnings. (8bf0b124)
    • REFACTOR: :recycle: settings. (254ebef6)
    • REFACTOR: :recycle: adjust generator to AddOn implemementation. (a91edbbf)
    • REFACTOR: :recycle: rename settings to setting for AddOns. (c88b7327)
    • REFACTOR: :recycle: remove resolvers. (59565b2a)
    • REFACTOR: adjusted code to match linter. (04dd9f1e)
    • FIX: :bug: locales are not correctly generated. (dd2807d0)
    • FIX: imports of file not deterministic. (2ffb120d)
    • FIX: custom painter Widgets are incorrectly rendered. (965c355e)
    • FIX: recommited binary files to git. (70f38e8f)
    • FIX: added error when WidgetbookTheme is used on non-function code elements. (b7e65c24)
    • FEAT: :sparkles: add design link property. (7aa22dca)
    • FEAT: :sparkles: add CustomThemeAddon to generator. (ed199af2)
    • FEAT: :sparkles: add FrameAddon to generator. (c77fddeb)
    • FEAT: :sparkles: add LocalizationAddon to generator. (0df318ec)
    • FEAT: :sparkles: add TextScaleThemeAddon to generator. (563d6697)
    • FEAT: :sparkles: add MaterialThemeAddon to generator. (ba1b8f82)
    • FEAT: generator reads use-case definition. (84298485)
    Open source →
  38. 3.0.0-beta.7 18 Jan 2023 pre-release
    Release notes
    • refactor: generator creating use case category as topmost NavigationTree element
    Open source →
  39. 3.0.0-beta.6 18 Jan 2023 pre-release
    Release notes
    • refactor: adjusted generator to the new NavigationTree
    Open source →
  40. 3.0.0-beta.5 03 Jan 2023 pre-release
    Release notes
    • refactor: adjusted generator to follow the new structure
    Open source →
  41. 3.0.0-beta.4 22 Dec 2022 pre-release
    Release notes
    • chore: bumped widgetbook_models version
    Open source →
  42. 3.0.0-beta.3 21 Dec 2022 pre-release
    Release notes
    • fix: locales are not correctly generated
    Open source →
  43. 3.0.0-beta.2 21 Dec 2022 pre-release
    Release notes
    • chore: bumped widgetbook_models version
    Open source →
  44. 3.0.0-beta.1 21 Dec 2022 pre-release
    Release notes
    • BREAKING: refactor: remove DeviceFrameBuilderResolver, LocalizationBuilderResolver, ScaffoldBuilderResolver, ThemeBuilderResolver, UseCaseBuilderResolver.
    • feat: add MaterialThemeAddon to generator
    • feat: add TextScaleAddon to generator
    • feat: add LocalizationAddon to generator
    • feat: add FrameAddon to generator
    • feat: add CustomThemeAddon to generator
    • feat: add designLink property to resolver
    Open source →
  45. 2.4.1 20 Jun 2022
    Release notes
    • fix: imports of generated file not deterministic (#167)
    Open source →
  46. 2.4.0-beta.1 10 Jun 2022 pre-release

    Nothing published for this version

  47. 2.2.0 27 May 2022
    Release notes
    • fix: Custom painter Widgets are incorrectly rendered (#191)
      • added support for WidgetbookAppBuilder and the appBuilder property.
    Open source →
  48. 2.1.1 13 May 2022
    Release notes
    • fix: use widgetbook_models in version v0.0.7
    Open source →
  49. 2.1.0 10 May 2022
    Release notes
    • chore: bumped freezed and freezed_annotation to v2.0.3 (#174)
    Open source →
  50. 2.0.1 31 Mar 2022
    Release notes
    • refactor: renamed WidgetbookWidget to WidgetbookComponent
    • fix: Missing error when @WidgetbookTheme is used on properties (#130)
    Open source →
  51. 2.0.1-beta 29 Mar 2022 pre-release

    Nothing published for this version

  52. 2.0.0-beta 15 Feb 2022 pre-release

    Nothing published for this version

  53. 1.0.3 20 Jan 2022
    Release notes
    • changed documentation to be consistent with the existing videos
    • changed generator to skip the src folder for packages
    • changed theme to default to ThemeMode.system instead of ThemeMode.dark
    Open source →
  54. 1.0.2 26 Nov 2021
    Release notes
    • added videos to documentation
    Open source →
  55. 1.0.1 04 Nov 2021
    Release notes
    • adjusted to renamed properties of widgetbook package
    • bumped widgetbook_annotation version
    Open source →
  56. 1.0.1-beta.2 03 Nov 2021 pre-release

    Nothing published for this version

  57. 1.0.1-beta.1 03 Nov 2021 pre-release

    Nothing published for this version

  58. 1.0.0 02 Nov 2021
    Release notes
    • changed generator to create code for Widgetbook 1.0.0
    Open source →
  59. 1.0.0-beta.1 02 Nov 2021 pre-release

    Nothing published for this version

  60. 0.0.6 02 Nov 2021
    Release notes
    • refactored code
    • added tests
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive