design: Move chatbackup in adaptive bottom sheet
This commit is contained in:
parent
8826815f8e
commit
195694a252
2 changed files with 9 additions and 15 deletions
|
|
@ -9,6 +9,7 @@ Future<T?> showAdaptiveBottomSheet<T>({
|
|||
required Widget Function(BuildContext) builder,
|
||||
bool isDismissible = true,
|
||||
bool isScrollControlled = true,
|
||||
double maxHeight = 480.0,
|
||||
}) =>
|
||||
showModalBottomSheet(
|
||||
context: context,
|
||||
|
|
@ -16,8 +17,8 @@ Future<T?> showAdaptiveBottomSheet<T>({
|
|||
useRootNavigator: !PlatformInfos.isMobile,
|
||||
isDismissible: isDismissible,
|
||||
isScrollControlled: isScrollControlled,
|
||||
constraints: const BoxConstraints(
|
||||
maxHeight: 480,
|
||||
constraints: BoxConstraints(
|
||||
maxHeight: maxHeight,
|
||||
maxWidth: FluffyThemes.columnWidth * 1.5,
|
||||
),
|
||||
clipBehavior: Clip.hardEdge,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue