diff --git a/example/widgetbook/pages/components/navigation_bar_widgetbook.dart b/example/widgetbook/pages/components/navigation_bar_widgetbook.dart index 9012b129..6cde9ff3 100644 --- a/example/widgetbook/pages/components/navigation_bar_widgetbook.dart +++ b/example/widgetbook/pages/components/navigation_bar_widgetbook.dart @@ -15,6 +15,7 @@ Widget navigationBarUseCase(BuildContext context) { bool showButton = context.knobs.boolean(label: 'Button'); int? dividerIndex = context.knobs.intOrNull.slider(label: 'Divider', min: 0, max: 6, initialValue: null); bool showSplit = context.knobs.boolean(label: 'Split Items'); + bool shrinkItems = context.knobs.boolean(label: 'Shrink Items'); return StatefulBuilder(builder: (context, setState) { return WidgetbookScaffold( builder: (context, _) => ZetaNavigationBar( @@ -24,6 +25,7 @@ Widget navigationBarUseCase(BuildContext context) { currentIndex: currIndex, splitItems: showSplit, dividerIndex: dividerIndex, + shrinkItems: shrinkItems, ), ); });