// Author: fengshengxiong // Date: 2024/5/7 // Description: 主题 import 'package:flutter/material.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:tone_snap/res/themes/app_colors.dart'; ThemeData changeVoiceAppTheme = ThemeData.dark(useMaterial3: true).copyWith( colorScheme: ColorScheme.fromSeed(seedColor: changeVoiceSeedColor), appBarTheme: const AppBarTheme(color: changeVoiceSeedColor), scaffoldBackgroundColor: changeVoiceSeedColor, scrollbarTheme: ScrollbarThemeData( thumbVisibility: WidgetStateProperty.all(false), thumbColor: WidgetStateProperty.all(Colors.white), radius: Radius.circular(8.r), ), ); ThemeData musicooAppTheme = ThemeData.dark(useMaterial3: true).copyWith( colorScheme: ColorScheme.fromSeed(seedColor: musicooSeedColor), appBarTheme: const AppBarTheme(color: Color(0xFF151718)), scaffoldBackgroundColor: const Color(0xFF151718), scrollbarTheme: ScrollbarThemeData( thumbVisibility: WidgetStateProperty.all(false), thumbColor: WidgetStateProperty.all(Colors.white), radius: Radius.circular(8.r), ), );