opt: GroupPanel (#940)

* opt: GroupPanel

* mod: int? operator
This commit is contained in:
My-Responsitories
2025-08-05 20:52:11 +08:00
committed by GitHub
parent e2639b6951
commit 170b2aa6d9
7 changed files with 44 additions and 63 deletions

View File

@@ -19,6 +19,11 @@ extension ImageExtension on num? {
}
}
extension IntExt on int? {
int? operator +(int other) => this == null ? null : this! + other;
int? operator -(int other) => this == null ? null : this! - other;
}
extension ScrollControllerExt on ScrollController {
void animToTop() {
if (!hasClients) return;