opt: pages

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-02 20:34:05 +08:00
parent f1a10a786d
commit 621239551f
22 changed files with 227 additions and 191 deletions

View File

@@ -53,6 +53,10 @@ extension StringExt on String {
String get http2https => replaceFirst(RegExp("^http://"), "https://");
}
extension StringNullExt on String? {
bool get isNullOrEmpty => this == null || this!.isEmpty;
}
extension BoolExt on bool {
bool get not => !this;
}