From 08aaa3c5884dfb0725a1d1d552bb1bb8ea18d2ea Mon Sep 17 00:00:00 2001 From: Alexandru Mariuti Date: Mon, 28 Oct 2024 09:45:14 +0000 Subject: [PATCH] fix: scroll behavior of app (#180) --- CHANGELOG.md | 4 ++++ lib/src/app.dart | 4 ++++ pubspec.yaml | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4cd8dc45..52be73a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.14.1 + +- **FIX**: `ShadApp` scroll behavior. + ## 0.14.0 - **BREAKING CHANGE**: Remove `onChangedNullable` from `ShadSelect` and `ShadSelectFormField`. Now the `onChanged` callback will be called with `null` when the user deselects an option if `allowDeselection` is set to `true`. (thanks to @moshOntong-IT) diff --git a/lib/src/app.dart b/lib/src/app.dart index 05abd23d..2c857d4a 100644 --- a/lib/src/app.dart +++ b/lib/src/app.dart @@ -832,6 +832,7 @@ class _ShadAppState extends State { actions: widget.actions, restorationScopeId: widget.restorationScopeId, localizationsDelegates: localizationsDelegates, + scrollBehavior: widget.scrollBehavior, ); } return MaterialApp( @@ -859,6 +860,7 @@ class _ShadAppState extends State { actions: widget.actions, restorationScopeId: widget.restorationScopeId, localizationsDelegates: localizationsDelegates, + scrollBehavior: widget.scrollBehavior, ); case ShadAppType.cupertino: @@ -887,6 +889,7 @@ class _ShadAppState extends State { actions: widget.actions, restorationScopeId: widget.restorationScopeId, localizationsDelegates: localizationsDelegates, + scrollBehavior: widget.scrollBehavior, ), ); } @@ -917,6 +920,7 @@ class _ShadAppState extends State { actions: widget.actions, restorationScopeId: widget.restorationScopeId, localizationsDelegates: localizationsDelegates, + scrollBehavior: widget.scrollBehavior, ), ); case ShadAppType.custom: diff --git a/pubspec.yaml b/pubspec.yaml index 24eb30f9..89dbfae5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: shadcn_ui description: shadcn-ui ported in Flutter. Awesome UI components for Flutter, fully customizable. -version: 0.14.0 +version: 0.14.1 homepage: https://flutter-shadcn-ui.mariuti.com repository: https://github.com/nank1ro/flutter-shadcn-ui documentation: https://flutter-shadcn-ui.mariuti.com