widgetbook 3.8.1 copy "widgetbook: ^3.8.1" to clipboard
widgetbook: ^3.8.1 copied to clipboard

A flutter storybook that helps professionals and teams to catalogue their widgets.

3.8.1 #

  • FIX: Show popup routes (e.g. dialogs and modal sheets) inside the boundaries on the device frame. (#1209)

3.8.0 #

  • FIX: Maintain theme in Flutter v3.22. (#1184)
  • FIX: Allow colons (and other special characters) in fields' names. (#1165 - by @maudFrz)
  • FIX: Guard list knob against null values when searching. (#1152 - by @bramp)
  • REFACTOR: Deprecate AccessibilityAddon in favor of BuilderAddon. Check out the setup guide to know how to migrate. (#1193)

3.7.1 #

  • REFACTOR: Wrap workbench with Scaffold. (#1091)
  • FIX: Update DoubleInputField regex to accept more digits before the decimal point. (#1117)
  • FIX: Use T codecs for NumInputField; to differentiate between the parsing of double & int. (#1118)
  • FIX: Allow negative numbers for numeric field. (#1119)

3.7.0 #

  • FIX: Enable InspectorAddon on release builds. (#1087)
  • EXPERIMENTAL: Add EnumArg. (#1073)
  • EXPERIMENTAL: Add SingleArg. (#1075)
  • EXPERIMENTAL: Add BuilderArg. (#1079)
  • EXPERIMENTAL: Change Arg.value to be positional parameter instead of named one. (#1077)
  • EXPERIMENTAL: Allow overriding Arg.name. (#1078)
  • EXPERIMENTAL: Support custom args via MetaWithArgs. (#1080)
  • EXPERIMENTAL: Add args parameter to Story.setup. (#1081)
  • EXPERIMENTAL: Use setup in Scenarios. (#1082)
  • EXPERIMENTAL: Add LeafComponent. (#1083)
  • EXPERIMENTAL: Support optional parameters arg-generation. (#1084)

3.6.0 #

  • REFACTOR: Use const named constructors for Widgetbook, instead of static methods. (#1066)
  • EXPERIMENTAL: Add setup to Story. (#1069)

3.5.0 #

  • FIX Ignore deprecated MediaQuery.textScaleFactor; to maintain compatibility with Flutter versions < 3.16.0. (#1053)
  • EXPERIMENTAL: Add support for SAM Architecture. (#1064)

3.4.1 #

  • FIX: Use MediaQuery.of(context).size instead of MediaQuery.sizeOf, to maintain compatibility with Flutter v3.7. (#1049)
  • FIX: Highlight selected WidgetbookLeafComponent. (#1047)

3.4.0 #

3.3.0 #

  • FEAT: Add Builder Addon. (#895)
  • FEAT: Add Experimental Time Dilation Addon. (#887)
  • FEAT: Add WidgetbookState.updateQueryField. (#888)
  • REFACTOR: Change WidgetbookState.knobs type from Map<String, Knob> to KnobsRegistry. (#885)
  • REFACTOR: Deprecate WidgetbookState.updateKnobValue in favor of WidgetbookState.knobs.updateValue. (#885)
  • FIX: Remove false overriding for listOrNull knob. (#881)

3.2.0 #

  • BREAKING: DeviceFrameAddon.devices is no longer nullable, in favor of the new NoneDevice. (#854)
  • REFACTOR: Support Flutter 3.13.0. (#847)
  • REFACTOR: Update DropdownMenu theme. (#844)
  • REFACTOR: Make appBuilder optional. (#843)
  • REFACTOR: Replace MultiChildNavigationData with WidgetbookNode. (#833)
  • REFACTOR: Deprecate WidgetbookUseCase.center in favor of [AlignmentAddon]. (#826)
  • FIX: Make path the first query parameter. (#855)
  • FIX: Correct initial Checkbox value for null knobs. (#851)
  • FIX: Ensure widget is mounted on change. (#814)
  • FIX: Allow commas in string knobs. (#817)
  • FIX: Correct listOrNull knob type cast. (#818)

3.1.0 #

  • FEAT: Add Alignment Addon. (#798)
  • FEAT: Add initialRoute. (#794)
  • FEAT: Preserve current state on web after doing hot restart or refresh from the browser. (#782)
  • BREAKING: Replace the Scaffold around use-cases with a ColoredBox below the Theme widget. ThemeAddon should be now added to Widgetbook.addons after the DeviceFrameAddon, and not before as in previous versions. (#789)
  • FIX: Add Material widget through default appBuilder of Widgetbook.material. (#792)

3.0.0 #

Check out the migration guide for more information.

3.0.0-rc.2 #

  • FEAT: Support hot reloading. (#759)
  • FEAT: Make side panels resizable. (#738)
  • FEAT: Add listOrNull knob. (#741)
  • FEAT: Add initialOption to list knob. (#733)
  • BREAKING: Create FieldsComposable to unify addons/knobs APIs. (#749)
  • REFACTOR: Add SafeArea to device addon. (#760)
  • REFACTOR: Move widgetbook_core package to widgetbook package. (#742)
  • REFACTOR: Export WidgetbookState. (#724)
  • REFACTOR: Export fields to be used for custom addons/knobs. (#728)
  • REFACTOR: Make KnobsBuilder.onKnobAdded public. (#727)
  • REFACTOR: Add value label to double.slider knob. (#757)
  • FIX: Use addons/knobs initial values. (#746)
  • FIX: Use related type checks when comparing device's frame state to its query parameter. (#715)
  • FIX: Add missing type parameter to LabelBuilder, which affected the list knob. (#718)
  • FIX: Use labelBuilder-based string comparison in list knob. (#729)
  • FIX: Add key to use cases to prevent out-of-sync builds. (#720)
  • Fix: Prevent onNodeSelected from being called if the node is already selected. (#725)
  • Fix: Use ListView for SettingsPanel. (#732)
  • Fix: Use fresh context while retrieving state to avoid out-of-sync UI. (#751)

3.0.0-rc.1 #

  • Check out the migration guide for more details.
  • FEAT: Add Dart 3 and Flutter 3.10 support. (#676)
  • FEAT: Add buildUseCase methods to Addons, that act as micro-appBuilders. (#646)
  • FEAT: Add preview query param instead of disable-navigation, disable-properties and panels query params. (#687)
  • FEAT: Create WidgetbookState. (#674)
  • FEAT: Add integrations and WidgetbookCloudIntegration. (#689)
  • BREAKING: Drop Flutter 2 support. (#676)
  • BREAKING: Use type-based knob names. (#695)
  • BREAKING: Cleanup Addons constructors by removing the setting parameter. (#652)
  • BREAKING: Remove FrameAddon in favor of the new DeviceFrameAddon. (#632, #686)
  • BREAKING: Rename WidgetbookAddOn to WidgetbookAddon. (#711)
  • BREAKING: Remove configureMaterialAddons and configureCupertinoAddons functions. (#677)
  • REFACTOR: Drop provider dependency. (#682)
  • REFACTOR: Drop go_router dependency. (#625)
  • REFACTOR: Drop flutter_bloc dependency. (#705)
  • REFACTOR: Drop freezed dependency. (#703)
  • REFACTOR: Made Widgetbook's addons parameter optional. (#690)
  • FIX: Remove StyledScaffold that made focus not work properly. (#650)

3.0.0-beta.14 #

  • REFACTOR: ♻️ addon multi property preview.
  • REFACTOR: ♻️ removed package analysis_options files.
  • REFACTOR: ♻️ warnings.
  • REFACTOR: ♻️ AddOn API.
  • REFACTOR: ♻️ improve API interface of addons.
  • REFACTOR: ♻️ warnings.
  • REFACTOR: ♻️ settings.
  • REFACTOR: navigation logic.
  • REFACTOR: 🛠️ uses new NavigationTree.
  • REFACTOR: ♻️ adjust content.
  • REFACTOR: ♻️ adjust generator to AddOn implemementation.
  • REFACTOR: ⚡ refactored addons.
  • REFACTOR: DeviceAddon.
  • REFACTOR: adjusted code to match linter.
  • FIX: 🧪 fixed broken test.
  • FIX: 🐛 requires directories to be not empty.
  • FIX: 🐛 properties resetting when changing locale.
  • FIX: 🐛 properties not changing on navigate.
  • FIX: inserted scaffold messenger.
  • FIX: expanding of elements within the navigation is not working.
  • FIX: 🐛 addons property cannot be empty.
  • FIX: navigation tree collapsing and expanding does not work.
  • FIX: orientation defaults to landscape.
  • FIX: 🐛 provider not found.
  • FIX: knob values do not update when usecase changes.
  • FIX: 🐛 remove go_router diagnostics.
  • FIX: 🐛 improve Canvas.
  • FIX: 🐛 navigation resets when use case changes.
  • FIX: 🐛 addons show incorrect item.
  • FIX: custom painter Widgets are incorrectly rendered.
  • FIX: 🐛 hot reload of directories.
  • FIX: 🐛 selected items not shown for addon.
  • FIX: dialog shows up in Widgetbook instead of the simulated device.
  • FIX: add packages/widgetbook prefix.
  • FIX: change ttf files with fonts.google ones.
  • FIX: 🐛 ignores country codes.
  • FIX: added MediaQuery for WidgetbookDeviceFrame.
  • FIX: preview app shows debug banner.
  • FIX: preview app shows debug banner in other theme than material.
  • FIX: useCaseBuilder is called with old context.
  • FEAT: ✨ addon multi property preview.
  • FEAT: ✨ addon routing.
  • FEAT: ✨ text scale addon.
  • FEAT: ✨ device addon.
  • FEAT: ✨ cupertino theme addon.
  • FEAT: ✨ remove obsolete classes.
  • FEAT: ✨ theme addon.
  • FEAT: ✨ Theme needs to be accessible via the app builder function.
  • FEAT: ⚡ added text knob multiline.
  • FEAT: ⚡ added text knob multiline.
  • FEAT: ⚡ added color knob.
  • FEAT: add panels query param (#612).
  • FEAT: added feature to toggle the orientation of a device.
  • FEAT: added textScaleFactors for font accessibility.
  • FEAT: ✨ addons and localization addon.
  • DOCS: added how to use widgetbook with a package.

3.0.0-beta.13 #

  • FIX(widgetbook): 🐛 remove go_router diagnostics. (a5395ee7)

3.0.0-beta.12 #

  • Update a dependency to the latest release.

3.0.0-beta.11 #

  • FIX: 🐛 requires directories to be not empty. (8e9b7aa1)

3.0.0-beta.10 #

  • REFACTOR: ♻️ AddOn API. (31734f9e)
  • FIX: 🐛 addons property cannot be empty. (67e1734f)

3.0.0-beta.9 #

  • REFACTOR: ⚡ refactored addons. (16c007ee)
  • REFACTOR: ♻️ warnings. (8bf0b124)
  • REFACTOR: ♻️ settings. (254ebef6)
  • REFACTOR: navigation logic. (9d254141)
  • REFACTOR: 🛠️ uses new NavigationTree. (ba362c58)
  • REFACTOR: ♻️ adjust content. (46a4e184)
  • REFACTOR: ♻️ adjust generator to AddOn implemementation. (a91edbbf)
  • REFACTOR: DeviceAddon. (091c2c18)
  • REFACTOR: ♻️ improve API interface of addons. (3d52df04)
  • REFACTOR: adjusted code to match linter. (04dd9f1e)
  • REFACTOR: ♻️ addon multi property preview. (f2e01961)
  • FIX: 🐛 ignores country codes. (bd1d5ec5)
  • FIX: 🐛 navigation resets when use case changes. (86708225)
  • FIX: 🐛 provider not found. (9a072e77)
  • FIX: 🐛 properties resetting when changing locale. (bf9eebfc)
  • FIX: 🐛 properties not changing on navigate. (3527d9c5)
  • FIX: 🧪 fixed broken test. (6e56b79a)
  • FIX: inserted scaffold messenger. (1181df1d)
  • FIX: expanding of elements within the navigation is not working. (096c296b)
  • FIX: navigation tree collapsing and expanding does not work. (ba69d281)
  • FIX: 🐛 hot reload of directories. (077d142b)
  • FIX: orientation defaults to landscape. (9e25a42a)
  • FIX: 🐛 improve Canvas. (a179f8ee)
  • FIX: 🐛 addons show incorrect item. (f54788e5)
  • FIX: knob values do not update when usecase changes. (f17c96da)
  • FIX: useCaseBuilder is called with old context. (e12b391d)
  • FIX: 🐛 selected items not shown for addon. (5ea112f7)
  • FIX: custom painter Widgets are incorrectly rendered. (965c355e)
  • FIX: dialog shows up in Widgetbook instead of the simulated device. (42733f0b)
  • FIX: add packages/widgetbook prefix. (28ae9b51)
  • FIX: change ttf files with fonts.google ones. (330452f6)
  • FIX: preview app shows debug banner. (771fa430)
  • FIX: added MediaQuery for WidgetbookDeviceFrame. (0160ce4a)
  • FIX: preview app shows debug banner in other theme than material. (1f2e69a1)
  • FEAT: ✨ addon multi property preview. (ab36f4e8)
  • FEAT: ✨ theme addon. (74e6da54)
  • FEAT: ✨ addon routing. (8cfd3682)
  • FEAT: ✨ text scale addon. (db2a2b5f)
  • FEAT: ✨ device addon. (a2894879)
  • FEAT: ✨ cupertino theme addon. (c7e5a013)
  • FEAT: ✨ remove obsolete classes. (d7384eae)
  • FEAT: ✨ Theme needs to be accessible via the app builder function. (8a844098)
  • FEAT: ⚡ added text knob multiline. (7c4e6d37)
  • FEAT: ⚡ added text knob multiline. (af40092e)
  • FEAT: ⚡ added color knob. (2b33ece0)
  • FEAT: added feature to toggle the orientation of a device. (ae42e4c8)
  • FEAT: added textScaleFactors for font accessibility. (19c3f93b)
  • FEAT: ✨ addons and localization addon. (03f91c29)
  • DOCS: added how to use widgetbook with a package. (3e578b12)

3.0.0-beta.8 #

  • REFACTOR: ♻️ addon multi property preview. (f2e01961)
  • REFACTOR: ♻️ warnings. (8bf0b124)
  • REFACTOR: ♻️ settings. (254ebef6)
  • REFACTOR: navigation logic. (9d254141)
  • REFACTOR: 🛠️ uses new NavigationTree. (ba362c58)
  • REFACTOR: ♻️ adjust content. (46a4e184)
  • REFACTOR: DeviceAddon. (091c2c18)
  • REFACTOR: ♻️ adjust generator to AddOn implemementation. (a91edbbf)
  • REFACTOR: ⚡ refactored addons. (16c007ee)
  • REFACTOR: ♻️ improve API interface of addons. (3d52df04)
  • REFACTOR: adjusted code to match linter. (04dd9f1e)
  • FIX: 🐛 properties resetting when changing locale. (bf9eebfc)
  • FIX: expanding of elements within the navigation is not working. (096c296b)
  • FIX: navigation tree collapsing and expanding does not work. (ba69d281)
  • FIX: 🐛 properties not changing on navigate. (3527d9c5)
  • FIX: knob values do not update when usecase changes. (f17c96da)
  • FIX: 🐛 navigation resets when use case changes. (86708225)
  • FIX: 🐛 improve Canvas. (a179f8ee)
  • FIX: 🧪 fixed broken test. (6e56b79a)
  • FIX: 🐛 addons show incorrect item. (f54788e5)
  • FIX: useCaseBuilder is called with old context. (e12b391d)
  • FIX: custom painter Widgets are incorrectly rendered. (965c355e)
  • FIX: 🐛 selected items not shown for addon. (5ea112f7)
  • FIX: preview app shows debug banner in other theme than material. (1f2e69a1)
  • FIX: inserted scaffold messenger. (1181df1d)
  • FIX: dialog shows up in Widgetbook instead of the simulated device. (42733f0b)
  • FIX: 🐛 provider not found. (9a072e77)
  • FIX: add packages/widgetbook prefix. (28ae9b51)
  • FIX: change ttf files with fonts.google ones. (330452f6)
  • FIX: preview app shows debug banner. (771fa430)
  • FIX: added MediaQuery for WidgetbookDeviceFrame. (0160ce4a)
  • FIX: orientation defaults to landscape. (9e25a42a)
  • FEAT: ✨ addon multi property preview. (ab36f4e8)
  • FEAT: ✨ theme addon. (74e6da54)
  • FEAT: ✨ addon routing. (8cfd3682)
  • FEAT: ✨ text scale addon. (db2a2b5f)
  • FEAT: ✨ cupertino theme addon. (c7e5a013)
  • FEAT: ✨ remove obsolete classes. (d7384eae)
  • FEAT: ✨ Theme needs to be accessible via the app builder function. (8a844098)
  • FEAT: ✨ device addon. (a2894879)
  • FEAT: ⚡ added text knob multiline. (7c4e6d37)
  • FEAT: ⚡ added text knob multiline. (af40092e)
  • FEAT: ⚡ added color knob. (2b33ece0)
  • FEAT: added feature to toggle the orientation of a device. (ae42e4c8)
  • FEAT: added textScaleFactors for font accessibility. (19c3f93b)
  • FEAT: ✨ addons and localization addon. (03f91c29)
  • DOCS: added how to use widgetbook with a package. (3e578b12)

3.0.0-beta.7 #

  • refactor: navigation
  • feat: adds SettingPanel

3.0.0-beta.6 #

  • feat: depends on widgetbook_core

3.0.0-beta.5 #

  • fix: properties are resetting when changing locale

3.0.0-beta.4 #

  • fix: properties not changing onNavigate via the browser's URL bar

3.0.0-beta.3 #

  • chore: bumped widgetbook_models version

3.0.0-beta.1 #

  • improvements

2.4.1 #

  • fix: failed to load font Nunito (#206)
  • fix: preview app shows debug banner (#202)

2.4.0 #

  • Added parameter disable-navigation and disable-properties to router.

2.3.0 #

  • fix: Custom painter Widgets are incorrectly rendered (#191)
    • added property appBuilder.
  • fix: Dialog shows up in Widgetbook instead of the simulated app (#172)
  • fix: BottomSheet is showing up in Widgetbook instead of simulated app (#190)

2.2.2 #

2.2.1 #

  • fix: use widgetbook_models in version v0.0.7

2.2.0 #

  • chore: bumped freezed and freezed_annotation to v2.0.3 (#174)

2.1.2 #

  • fix: useCaseBuilder is called with old context (#180)

2.1.1 #

  • fix: knob values do not update when usecase changes (#170)

2.1.0 #

  • feature: added knobs to dynamically change parameters of a usecase (#21)

2.0.9 #

  • fix: orientation defaults to landscape (#161)

2.0.8 #

  • fix: navigation tree collapsing and expanding does not work (#159)

2.0.7 #

  • fix: expanding of elements within the navigation is not working (#156)

2.0.6 #

  • refactor: renamed WidgetbookWidget to WidgetbookComponent
  • fix: ScaffoldMessenger opens in Widgetbook and not in the previewed app (#148)
  • fix: Missing error when @WidgetbookTheme is used on properties (#130)
  • fix: @WidgetbookApp wrongly exposes ThemeType property (#129)
  • closed: Widgetbook cannt be run for flutter version below 2.10 (#113)
  • fix: setState called during build (#92)
  • closed: Scrolling interferes with zooming (#85)

2.0.5 #

  • feat: added textScaleFactors for font accessibility (#15)
  • fix: added MediaQuery to WidgetbookDeviceFrame (#66)
  • feat: added device_frame (#112)

2.0.3 #

  • fix: UI not optimized for light theme #110

2.0.2 #

  • fix: pan cannot be reset in viewport #99
  • fix: use cases cannot be previewed without a device #84
  • fix: cannot inject custom themes into widget tree #75
  • fix: cannot wrap use cases in other widgets #74
  • fix: cannot set a default theme #60
  • fix: cannot show multiple devices next to each other #55
  • fix: no way to use widgets that require localization #53
  • fix: device can be moved out of sight #7
  • fix: viewport resets when different story is selected #6

1.0.3 #

  • changed documentation to be consistent with the existing videos
  • changed theme to default to ThemeMode.system instead of ThemeMode.dark
  • fixed Tiles overflowing on long names

1.0.2 #

  • added videos to documentation

1.0.1 #

  • renamed property stories of WidgetbookWidget to useCases

1.0.0 #

renamed organizer elements to make them less generic. Renamed to the following:

  • Category renamed to WidgetbookCategory
  • Folder renamed to WidgetbookFolder
  • WidgetElement renamed to WidgetbookWidget
  • Story renamed to WidgetbookUseCase

0.0.16 #

  • fixed error thrown when switching to a theme that is not defined
  • added a widget indicating that the current theme is not defined

0.0.15 #

  • fixed brightness not being inherited to the rendered Story

0.0.14 #

  • bumped version of widgetbook_models to 0.0.3

0.0.13 #

  • updated readme

0.0.12 #

0.0.11 #

  • added a search bar to filter for widgets and folders

0.0.10 #

  • removed bloc and flutter_bloc dependency
  • removed url_launcher dependency

0.0.9 #

Increased package compatibility by

0.0.8 #

  • added CI/CD badge

0.0.7 #

  • removed example app from package

0.0.6 #

  • fixed navigation not working for web

0.0.5 #

  • fixed navigation tree elements collapsing on hot reloads

0.0.4 #

  • added known issue to documentation

0.0.3 #

  • fixed hot reloading not working for the selected story
  • fixed ControlBar overflow
  • removed unused package from pubspec

0.0.2 #

  • Added docs to public API

0.0.1 #

  • Initial release