Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-16 16:28:13 +08:00
parent 0baf3fcd36
commit 348a9e014e
10 changed files with 50 additions and 32 deletions

View File

@@ -21,6 +21,9 @@ abstract class Utils {
static const jsonEncoder = JsonEncoder.withIndent(' ');
static String themeUrl(bool isDark) =>
'native.theme=${isDark ? 2 : 1}&night=${isDark ? 1 : 0}';
static Future<void> saveBytes2File({
required String name,
required Uint8List bytes,