ToneSnap_FSX_Flutter/lib/res/themes/app_themes.dart
2024-08-01 13:38:25 +08:00

24 lines
842 B
Dart

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