add rating

This commit is contained in:
2023-09-22 16:40:30 +08:00
parent f7ebc10617
commit 50ff4b3fdd
5 changed files with 44 additions and 3 deletions

View File

@@ -17,8 +17,9 @@ class ScrollParent extends StatelessWidget {
}
if (controller.offset + value.overscroll >=
controller.position.maxScrollExtent) {
if (controller.offset != controller.position.maxScrollExtent)
if (controller.offset != controller.position.maxScrollExtent) {
controller.jumpTo(controller.position.maxScrollExtent);
}
return true;
}
controller.jumpTo(controller.offset + value.overscroll);