Update mobile/lib/presentation/widgets/asset_viewer/asset_viewer.page.dart

Use Durations.medium2 instead of number

Co-authored-by: shenlong <139912620+shenlong-tanwen@users.noreply.github.com>
pull/24428/head
Hai Sullivan 2025-12-09 12:43:09 +07:00 committed by GitHub
parent e378683565
commit 1b215c0f10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

@ -485,7 +485,7 @@ class _AssetViewerState extends ConsumerState<AssetViewer> {
sheetCloseController = showBottomSheet( sheetCloseController = showBottomSheet(
context: ctx, context: ctx,
sheetAnimationStyle: const AnimationStyle( sheetAnimationStyle: const AnimationStyle(
duration: Duration(milliseconds: 300), duration: Durations.medium2,
reverseDuration: Duration(milliseconds: 300), reverseDuration: Duration(milliseconds: 300),
), ),
constraints: const BoxConstraints(maxWidth: double.infinity), constraints: const BoxConstraints(maxWidth: double.infinity),