Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-18 11:43:23 +08:00
parent d7f7611af4
commit 1e0e2d2d6e
50 changed files with 74 additions and 91 deletions

View File

@@ -5,7 +5,7 @@ import 'package:PiliPlus/utils/storage_pref.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
abstract class ThemeUtils {
abstract final class ThemeUtils {
static ThemeData getThemeData({
required ColorScheme colorScheme,
required bool isDynamic,
@@ -91,6 +91,7 @@ abstract class ThemeUtils {
fontWeight: fontWeight,
),
backgroundColor: colorScheme.surface,
constraints: const BoxConstraints(minWidth: 280, maxWidth: 420),
),
bottomSheetTheme: BottomSheetThemeData(
backgroundColor: colorScheme.surface,