fix: initial size of bottom sheet (#22085)

This commit is contained in:
Viktor Mykhailiv 2025-09-17 15:41:44 +01:00 committed by GitHub
parent 0c0bec6ae2
commit 4dfa011eef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,7 +87,7 @@ class _GeneralBottomSheetState extends ConsumerState<GeneralBottomSheet> {
return BaseBottomSheet( return BaseBottomSheet(
controller: sheetController, controller: sheetController,
initialChildSize: 0.45, initialChildSize: widget.minChildSize ?? 0.15,
minChildSize: widget.minChildSize, minChildSize: widget.minChildSize,
maxChildSize: 0.85, maxChildSize: 0.85,
shouldCloseOnMinExtent: false, shouldCloseOnMinExtent: false,