Skip to content

Commit

Permalink
Adjust dialog enter animation distance
Browse files Browse the repository at this point in the history
  • Loading branch information
ulusoyca committed Jul 2, 2024
1 parent adf180d commit c6e79bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/modal_type/wolt_dialog_type.dart
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class WoltDialogType extends WoltModalType {
// Position animation for entering (96px upwards) and exiting (96px downwards)
final positionAnimation = Tween<Offset>(
end: const Offset(0.0, 0.0),
begin: const Offset(0.0, 0.05),
begin: Offset(0.0, animation.status == AnimationStatus.reverse ? 0.05 : 0.1),
).animate(
CurvedAnimation(
parent: animation,
Expand Down

0 comments on commit c6e79bd

Please sign in to comment.