primaryColor | Color | 主色,影响 AppBar、浮动按钮等默认颜色。 |
colorScheme | ColorScheme | 更推荐使用的颜色系统,包含主色、背景色、错误色等(Material 3 主推)。 |
scaffoldBackgroundColor | Color | Scaffold 的默认背景色(body 背景色)。 |
appBarTheme | AppBarTheme | AppBar 的默认样式,例如背景色、高度、标题样式。 |
textTheme | TextTheme | 应用的默认文本样式,例如 bodyText1 、headline6 等。 |
iconTheme | IconThemeData | 图标的默认样式(颜色、大小)。 |
elevatedButtonTheme | ElevatedButtonThemeData | ElevatedButton 的默认样式配置。 |
textButtonTheme | TextButtonThemeData | TextButton 的默认样式配置。 |
outlinedButtonTheme | OutlinedButtonThemeData | OutlinedButton 的默认样式配置。 |
inputDecorationTheme | InputDecorationTheme | 文本输入框(TextField )的默认样式配置。 |
dividerColor | Color | 分隔线默认颜色。 |
cardTheme | CardTheme | 卡片(Card )的默认样式。 |
bottomNavigationBarTheme | BottomNavigationBarThemeData | 底部导航栏样式。 |
floatingActionButtonTheme | FloatingActionButtonThemeData | FAB 样式。 |
visualDensity | VisualDensity | 控制控件之间的“稠密度”,如紧凑模式。 |
brightness | Brightness | 主题亮度(Brightness.light 或 Brightness.dark )。 |