Skip to content

Commit

Permalink
deps: Update widgetbook dep for text scale addon (#193)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <[email protected]>
  • Loading branch information
thelukewalton and github-actions authored Oct 22, 2024
1 parent 0c09633 commit 1852502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/widgetbook/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ class _HotReloadState extends State<HotReload> {
ZetaAddon(),
InspectorAddon(enabled: false),
ZoomAddon(initialZoom: 1.0),
TextScaleAddon(scales: [1.0, 1.2, 1.4, 1.6, 1.8, 2.0], initialScale: 1),
TextScaleAddon(min: 1, max: 2, divisions: 4, initialScale: 1),
],
);
}
Expand Down

0 comments on commit 1852502

Please sign in to comment.