diff --git a/example/widgetbook/pages/components/progress_widgetbook.dart b/example/widgetbook/pages/components/progress_widgetbook.dart index ba643a22..357ccfce 100644 --- a/example/widgetbook/pages/components/progress_widgetbook.dart +++ b/example/widgetbook/pages/components/progress_widgetbook.dart @@ -25,7 +25,7 @@ Widget progressBarUseCase(BuildContext context) => WidgetbookScaffold( Widget progressCircleUseCase(BuildContext context) => WidgetbookScaffold( builder: (context, _) => ZetaProgressCircle( - progress: context.knobs.double.slider(label: 'Progress', min: 0, max: 1, initialValue: 0.5).toDouble(), + progress: context.knobs.double.input(label: 'Progress', initialValue: 0.5), size: context.knobs.list( initialOption: ZetaCircleSizes.xl, label: 'Size', @@ -34,5 +34,6 @@ Widget progressCircleUseCase(BuildContext context) => WidgetbookScaffold( ), onCancel: context.knobs.boolean(label: "Can Cancel") ? () {} : null, label: context.knobs.stringOrNull(label: 'Label'), + maxValue: context.knobs.double.input(label: 'Max Value', initialValue: 1), ), );