Skip to content

Commit

Permalink
fix: fast scroll in back to top (#3344)
Browse files Browse the repository at this point in the history
* fast scroll in back to top

* Duration to 6 milliseconds

Co-authored-by: Marvin M <39344769+M123-dev@users.noreply.github.com>
Co-authored-by: Aman Raj <57723319+AshAman999@users.noreply.github.com>
  • Loading branch information
3 people authored Nov 26, 2022
1 parent a67a2c5 commit f718ffc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ class _ProductQueryPageState extends State<ProductQueryPage>
} else {
_scrollController.animateTo(
0,
duration: SnackBarDuration.medium,
duration: const Duration(milliseconds: 6),
curve: Curves.linear,
);
}
Expand Down

0 comments on commit f718ffc

Please sign in to comment.