mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-22 01:56:47 +08:00
committed by
GitHub
parent
e2639b6951
commit
170b2aa6d9
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user