小调整,去掉部分冗余无用句
This commit is contained in:
+2
-3
@@ -49,10 +49,9 @@ class MyApp extends StatelessWidget {
|
||||
appBarTheme: AppBarTheme(
|
||||
backgroundColor: colors.background, // ← 关键:和 Scaffold 一致
|
||||
foregroundColor: colors.textPrimary,
|
||||
surfaceTintColor: Colors.transparent, // ← 关掉 M3 的滑动变色
|
||||
// ← 关掉 M3 的滑动变色
|
||||
elevation: 0,
|
||||
scrolledUnderElevation: 0,
|
||||
shadowColor: Colors.transparent,
|
||||
|
||||
iconTheme: IconThemeData(color: colors.textPrimary),
|
||||
),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user