mod: merge tabbar from pilipala

This commit is contained in:
bggRGjQaUbCoE
2024-08-26 20:40:41 +08:00
parent 448d554f03
commit 50c911a6a6
4 changed files with 137 additions and 53 deletions

View File

@@ -5,3 +5,13 @@ extension ImageExtension on num {
return (this * MediaQuery.of(context).devicePixelRatio).round();
}
}
extension ScrollControllerExt on ScrollController {
void animToTop() {
animateTo(
0,
duration: const Duration(milliseconds: 500),
curve: Curves.ease,
);
}
}